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
图片来源: 生物星球
plot(rnorm(50))
runif: the uniform distribution on the simplex
(generate random compositions with a uniform distribution on the (rcomp) simplex)boxplot(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()