ggplot2中qplot的用法

簡介 本章所用的數據集爲ggplot2包中的diamonds數據集,這一章主要涉及qplot的用法,qplot的意思是quick plot,即快速製圖。 基本用法 library(ggplot2) head(diamonds) # 查看數據集前5列 ## carat cut color clarity depth table price x y z ## 1 0.23 Ideal E SI2 61
相關文章
相關標籤/搜索