Plot Histogram in R
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:…
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
If you install the hadoop in windows, after the installation, you will confront this problem: you can not set the evironment valuable. This file won't work: c:\deploy\etc\hadoop\hadoop-env.cmd If you do…
I work on several computers, sometimes Widows, sometimes Linux, so I got a problem after I pull my project file from Git. That is the file path. To cope with…
If you want to read an image, you will need the 'image' package: import Image read the image: Image.open(filename) convert the Image to grey scale: Image.open(filename).convert('L') convert the image to…