ggplot2【1】:全解析
```rlibrary(ggplot2)ggplot2大概分为三个部分:(1)数据层 (2)几何图形层 (3)美学层即为:ggplot(data = mpg,mapping = aes(x = cty,y = hwy)) + geom_point() + aes(colour = factor(mpg$year))a = data[c("audi","dodge"),]data[which(data$manufacturer == c("audi")),"hwy"] = 0-data[w
原创
2022-02-25 19:33:32 ·
1525 阅读 ·
0 评论