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
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
setwd("D:\R Language Learning")#Change working path
write.table(y, "sample.csv", sep=",")#Save the file
> x=scan()#Manual Input
Read 4 items
 1 2 3 5
Added by mynameisbob on Fri, 24 Jan 2020 05:27:30 +0200
The drawing functions of grid all contain just, but how to adjust the position of the figure with the just parameter is always very puzzling, so I wrote a code to explore it.
The idea is very simple: put a 2 * 2 layout viewport in each layout, and each viewport uses different just parameters. The rectangle after just is di ...
Added by usamaalam on Tue, 31 Dec 2019 15:28:28 +0200
Search on bing:
How to change the matrix to triple form and search the result on bing:
All kinds of C language can't find the way to realize R language
R language writing cycle is very slow, just use the ready-made package
Matrix is a very powerful package. It can convert matrix to sparse matrix, change 0 to... And sav ...
Added by ph0ngwh0ng on Tue, 26 Nov 2019 22:02:06 +0200