- 博客(5)
- 收藏
- 关注
原创 ggplot2-堆积柱形图????
数据整理代码:lin2 <- read.delim("~/1/lin2.txt")View(lin2)ggplot(data=lin2, aes(x=pH, y=R, fill=type))+geom_col(position = “fill”)lin2pH<−factor(lin2pH<-factor(lin2pH<−factor(...
2019-06-27 21:48:31
7641
原创 ggplot 2 做箱线图(二)
箱线图之分面1.数据整理格式如下:qplot(pH, contents, fill=type, data=Lin1, geom=c(“boxplot”))abc <- qplot(pH, contents, fill=type, data=Lin1, geom=c(“boxplot”))abc + facet_grid(type ~.)abc + facet_grid(...
2019-06-18 17:40:59
3479
2
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人