生信星球培训第五十八期

《学习小组DAY4笔记-喵》

2020-05-14  本文已影响0人  不是你的喵宝贝

安装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语言基本操作

管理工作目录
显示文件列表
加减乘除
赋值 删除变量
上一篇 下一篇

猜你喜欢

热点阅读