R数据可视化手册学习简单的绘制常见的图形

1.绘制散点图 # 使用ggplot2 library(ggplot2) ggplot(data = mtcars, aes(x = wt, y = mpg)) + geom_point()   2.绘制折线图 # 使用ggplot library(ggplot2) # 绘制第一条折线附有数据点 g <- ggplot(data = pressure, aes(x = temperature, y
相关文章
相关标签/搜索