《学习小组DAY4笔记-喵》

安装R语言和RStudio编辑器

RStudio绘图

1. rnorm

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.


2

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.

R语言基本操作

管理工作目录

显示文件列表

加减乘除

赋值
删除变量
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。