About 144,000 results
Open links in new tab
  1. Create Elegant Data Visualisations Using the Grammar of Graphics

    However, in most cases you start with ggplot(), supply a dataset and aesthetic mapping (with aes()). You then add on layers (like geom_point() or geom_histogram()), scales (like scale_colour_brewer()), …

  2. ggplot2作图最全教程(上) - 知乎

    ggplot2的语法与base r不同。 根据基本元素,默认的ggplot需要指定三样东西: 数据,美学和几何形状。 我们总是通过调用ggplot (data = df)来定义绘图对象,它只告诉ggplot2我们将处理该数据。

  3. 27 ggplot作图入门 | R语言教程

    将数据输入到 ggplot() 函数中, 并指定参与作图的每个变量分别映射到哪些图形特性, 比如映射为x坐标、y坐标、颜色、形状等。 这些映射称为aesthetic mappings或aesthetics。 选择一个合适的图形类 …

  4. CRAN: Package ggplot2

    A system for 'declaratively' creating graphics, based on "The Grammar of Graphics". You provide the data, tell 'ggplot2' how to map variables to aesthetics, what graphical primitives to use, and it takes …

  5. ggplot2高效实用指南 (可视化脚本、工具、套路、配色)上-CSDN博客

    ggplot ():此函数才是 ggplot2 的精髓,远比qplot ()强大,可以一步步绘制十分复杂的图形。 由 ggplot2 绘制出来的ggplot图可以作为一个变量,然后由print ()显示出来。 图形类型 根据 数据集, ggplot2 …

  6. GitHub - tidyverse/ggplot2: An implementation of the Grammar of ...

    However, in most cases you start with ggplot(), supply a dataset and aesthetic mapping (with aes()). You then add on layers (like geom_point() or geom_histogram()), scales (like scale_colour_brewer()), …

  7. ggplot2入门指南 - GitHub Pages

    如果将数据定义在 ggplot() 中,那么所有图层都可以共用这个数据;如果将数据定义在 geom_xyz() 中,那么这个数据就只供这个几何对象使用。 掌握了数据、几何对象、图形属性和图层的概念后,我 …

  8. Data visualization with R and ggplot2 | the R Graph Gallery

    plotly: turn your ggplot interactive Another awesome feature of ggplot2 is its link with the plotly library. If you know how to make a ggplot2 chart, you are 10 seconds away to rendering an interactive version. …

  9. ggplot2 - 快速指南 - 技术教程

    ggplot(mpg, aes(x=cty, y=hwy, size = pop)) +geom_point(alpha=0.7) 该图描述了图例格式中包含的制造商的性质。 表示的值包括“hwy”属性的各种维度。 ggplot2 - 发散图 在前面的章节中,我们了解了使 …

  10. ggplot2 - Wikipedia

    Plots may be created via the convenience function qplot() where arguments and defaults are meant to be similar to base R's plot() function. [19][20] More complex plotting capacity is available via ggplot() …