r学习
baolack
这个作者很懒,什么都没留下…
展开
-
Rstudio安装问题
Rstudio初学原创 2022-08-03 21:21:46 · 952 阅读 · 0 评论 -
ggplot图例
用ggplot作图移除图例 library(ggplot2) p <- ggplot(PlantGrowth, aes(x=group, y=weight, fill=group)) + geom_boxplot() p + guides(fill=FALSE) 改变图例位置 p <- ggplot(PlantGrowth, aes(x=group, y=weight, fill=gr...转载 2018-11-18 21:46:13 · 1397 阅读 · 0 评论 -
数据
day2 内置向量:letters,LETTERS,month.add,month.name向量的创建:c(), seq(), rep(), : 向量的索引:[] 向量元素命:names() 数据框 内置数据集:library(help="datasets’) 创建数据框:data.frame() 数据分析流程 improt—Tidy(整理数据)—Transform—建...原创 2018-11-17 20:54:41 · 160 阅读 · 1 评论