Configure Git for RStudio
There is an article from RStudio explained how to configure Git for RStudio. But it is not very detailed. I ran into many problem during the configuration and wasted a…
There is an article from RStudio explained how to configure Git for RStudio. But it is not very detailed. I ran into many problem during the configuration and wasted a…
floor takes a single numeric argument x and returns a numeric vector containing the largest integers not greater than the corresponding elements of x. trunc takes a single numeric argument…
Plot Histogram in R: Method 1: hist(vector, breaks) Take care for the parameter "breaks": according the help: breaks: a single number giving the number of cells for the histogram. Important:…
Useful packages: R: library(matrixcalc) Python: numpy Matrix generation: R: matrix(1:6, 2, 3) Python: np.arange(1,7).reshape(2,3) construct a diagnal matrix: R: advanced-R diag(vector, nrow, ncol) #construct a matrix which diagonal elements is equal…
I found the easiest way to install R extention for Ubuntun RapidMiner -> Marketplace -> R Extention RStudio -> Tools -> Install Packages... -> Input in the field "Packages": rJava, JavaGD Or…
Useful web sites for R:
About Package
There are different ways doing math for vector in python 1. use loop 2. use loop, but in list 3. use numpy 4. use map and lambda functions In R language,…