【发布时间】:2011-02-15 02:49:03
【问题描述】:
R:使用 Lattice 与 ggplot2 的优缺点是什么?
【问题讨论】:
标签: r plot ggplot2 visualization lattice
R:使用 Lattice 与 ggplot2 的优缺点是什么?
【问题讨论】:
标签: r plot ggplot2 visualization lattice
喜欢 Roger Peng 在他的 ppt 中比较 Base/Lattice/gglot2 包时所说的话: https://github.com/rdpeng/CourseraLectures/blob/master/ggplot2_part1.pptx
优点:
方便,反映了我们对构建绘图和分析数据的看法
缺点:
使用单个函数调用(xyplot、bwplot 等)创建绘图
优点:
缺点:
优点:
【讨论】:
set of blog posts on the Learn R blog 很好地总结了这一点。
【讨论】:
ggplot2 目前不支持真正的 3d 表面,根据这篇文章:
ggplot2 Version of Figures in “Lattice: Multivariate Data Visualization with R”
【讨论】: