学习小组Day4笔记--May

Day 4

R language

Install R and R studio

Follow the instruction on the official website (Finished)
(R studio is much easier to use. R is like the terminal window)
Really recommend R studio (Like Matlab)

R for Data Science

Introduction (the first chapter)

  • Make sure your username is English, not Chinese

R studio

WechatIMG220.png

图片来源: 生物星球

  • plot(rnorm(50))
    runif: the uniform distribution on the simplex
    (generate random compositions with a uniform distribution on the (rcomp) simplex)

  • boxplot(irisSepal.Length~irisSpecies,col = c("lightblue", "lightyellow", "lightpink"))

change font

  • Tools -> global options

folder organization

https://mp.weixin.qq.com/s/G-LXN9P2HVLv9v0cvyFJMA

show working directory

  • dir()

remove variable

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

推荐阅读更多精彩内容