安装R语言和RStudio编辑器
RStudio绘图
plot.default {graphics}:Draw a scatter plot with decorations such as axes and titles in the active graphics window.
rnorm(n, mean = 0, sd = 1)
n:number of observations. If length(n) > 1, the length is taken to be the number required.
boxplot {graphics}:Produce box-and-whisker plot(s) of the given (grouped) values.
iris {datasets}:This famous (Fisher's or Anderson's) iris data set gives the measurements in centimeters of the variables sepal length and width and petal length and width, respectively, for 50 flowers from each of 3 species of iris. The species are Iris setosa, versicolor, and virginica.
iris is a data frame with 150 cases (rows) and 5 variables (columns) named Sepal.Length, Sepal.Width, Petal.Length, Petal.Width, and Species.