摘要: ggplot函数调用基本形式: ggplot(数据框形式的数据,aes()) layer(geom, geom_params, stat, stat_params, data, mapping,position) layer(几何对象,几何变换参数,统计量,统计变换参数,数据,映射,位置调整) 因为 阅读全文
posted @ 2017-10-01 20:31 wendy921 阅读(1059) 评论(0) 推荐(0) 编辑
摘要: ggplot2理论基础:图形图层语法(六种语法组件) 1.data\mapping\2.aesthetic attributes 3.geometric object\ 4.facet\ 5.statistics\6.position 总之,ggplot2的一个图形对象就是一个包含数据、到aesth 阅读全文
posted @ 2017-10-01 16:21 wendy921 阅读(334) 评论(0) 推荐(0) 编辑
摘要: diamonds数据结构 caratcut color claritydepth table price x y z 1 0.38 Ideal E VS1 60.8 56.0 940 4.70 4.75 2.86 2 0.30 Ideal E VS2 61.7 55.0 658 4.30 4.32 阅读全文
posted @ 2017-10-01 14:51 wendy921 阅读(467) 评论(0) 推荐(0) 编辑