R语言基础
R和Rstudio
- R是一种编程语言,能统计计算,能做图,具备函数功能,但是界面简陋。
- RStudio将R图形化,使R更容易使用。
[图片上传失败...(image-834c4a-1630368975251)]
操作命令示例
plot(rnorm(50))

Rplot.png
boxplot(iris$Sepal.Length~iris$Species,col = c("lightblue","lightyellow","lightpink"))

Rplot01.png