R語言基礎(chǔ)練習(xí)
-
plot (rnorm(50))
runif()函數(shù)用于生成從0到1區(qū)間范圍內(nèi)的服從正態(tài)分布的隨機數(shù)敏簿,每次生成的值都不一樣
image.png -
boxplot(iris$Sepal.Length~iris$Species, col = c("lightblue", "lightyellow", "lightpink"))
image.png -
setwd()
getwd()
設(shè)置與查看工作目錄 - 學(xué)習(xí)利用Rproject管理多項目腳本與數(shù)據(jù)
-
dir()
顯示當(dāng)前工作目錄下的文件列表 - control L 清空 console命令
-
rm(list = ls ())
清空加載的 global environment - console鍵入histroy()查看操作歷史記錄
內(nèi)容來源--微信公眾號生信星球