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(type ~. ,
相關文章
相關標籤/搜索