Basic syntax, basic operators and functions of R language

Basic syntax, basic operations and functions of R language The following code details the basic syntax and arithmetic operators, relational operators, logical operators and some basic mathematical functions of R language Mathematical operator The following table lists the main mathematical operators and their operation order: prioritySymbol ...

Added by john6384 on Fri, 19 Nov 2021 06:21:46 +0200

R language - Chapter 10 input and output

1. Connect the keyboard to the monitor 1.1 using scan() function scan() reads from a file or enters a vector with the keyboard > scan("z1.txt") Read 4 items [1] 123 4 5 6 > scan("z2.txt") Read 4 items [1] 123.0 4.2 5.0 6.0 > scan("z3.txt") Error in scan("z3.txt") : scan()need'a real', instead of'abc' # ...

Added by mrjonnytou on Mon, 25 Oct 2021 16:11:33 +0300

Biochip -- learning notes of camp package

1, Introduction to methylation chip A chip includes 12 array s, that is, a chip can make 12 samples, and a machine can run 8 chips, that is, a total of 96 samples. Each sample can measure the methylation information of more than 450000 CpG sites (about 1% of all people, but covers most CpG islands and promoter regions). The chip itself con ...

Added by mw-dnb on Mon, 20 Sep 2021 16:10:58 +0300

September 15 knowledge sorting

September 15 knowledge sorting 1, Variable 1. Define multiple variables at the same time 1) Define the same value of multiple variables at the same time: Variable name 1 = variable name 2 = variable name 3 =... = Data Example: x = y = z = 0 print(x, y, z) 2) Define multiple variables at the same time and as ...

Added by macpaul on Sun, 19 Sep 2021 04:10:00 +0300

Nonlinear optimization -- Application of NLopt algorithm and C + + Example

Before reading this article, I suggest reading it first This article , it talks about the principle of nonlinear optimization, that is, the concept of related terms, and then introduces the use method of NLopt, which is based on C language. This film introduces an example of NLopt in C + + language. Before the example, first introduce the ...

Added by mrjap1 on Sat, 18 Sep 2021 09:17:58 +0300

Application of R language in finance II

3. File input and output and common errors 3.1 R script file input (open) Using the Rstudio interfaceUsing R interfaceCommand open file.edit("#dir",fileEncoding = "UTF-8") #Import. R file, import script file of R 3.2 R script file storage (saving) Using the Rstudio interfaceUsing R interface 3.3 output of other documents (save) Save th ...

Added by silvermice on Fri, 17 Sep 2021 23:02:29 +0300

Vol.2 Mouse-based Gene Set Number Database Resources

Vol.2 Mouse-based Gene Set Number Database Resources "Like the breeze running after the clouds looking at you from far to near" About Author Yifan Fu Undergraduate, BUAA, Beijing Major : BioinformaticsRecent focus : single-cell transcriptomics, metagenomics, multi-omics interactionContact : fan@buaa.edu.cn 0x00 written before Ano ...

Added by auday1982 on Sun, 12 Sep 2021 19:23:48 +0300

Second record of R language learning

data type 1. Assignment operation: x < - 10 x is the variable name, < - is the assignment symbol, 10 is the value (R language is different from C, JAVA, Python) "=" is also OK, but the efficiency is not as high as 2. Data members: character type, numerical type, boolean type, complex typ ...

Added by fred2k7 on Wed, 11 Mar 2020 12:21:10 +0200

R language introduction: vector index

The content of this section is based on the previous assignment of the most basic vector of R language. After learning R, I feel very comfortable about the index of vector. Because this is much better than Python's index. The index starts from where the index starts and ends where it ends, instead of inputting 0 as Python does sometimes, it act ...

Added by ev5unleash on Tue, 25 Feb 2020 15:47:18 +0200

R Language Learning Notes

R Language Learning setwd("D:\R Language Learning")#Change working path write.table(y, "sample.csv", sep=",")#Save the file > x=scan()#Manual Input 1: 1 2: 2 3: 3 4: 5 5: Read 4 items > x [1] 1 2 3 5 x=scan("a.txt") as.array() as.character() as.data.frame() as. ...

Added by mynameisbob on Fri, 24 Jan 2020 05:27:30 +0200