R最有利的地方,在于它很容易可以制图。本节我们将学习R基本的制图法。

    There is a school of thought that this approach is backwards, that we should teach ggplot2 first. See http://varianceexplained.org/r/teach_ggplot2_to_beginners/ for an outline of this view.

learning R with swirl-Base Graphics

learning R with swirl-Base Graphics

learning R with swirl-Base Graphics

learning R with swirl-Base Graphics

learning R with swirl-Base Graphics

learning R with swirl-Base Graphicslearning R with swirl-Base Graphics

learning R with swirl-Base Graphics

learning R with swirl-Base Graphics

因为类似“col”“pch”这样的参数不是能直接想到的,因此大多数人都会使用包,例如ggplot2来创建他们自己的图表。

learning R with swirl-Base Graphics

learning R with swirl-Base Graphics


相关文章:

  • 2021-10-29
  • 2021-12-20
  • 2021-09-20
  • 2021-09-27
  • 2022-12-23
  • 2021-11-16
  • 2022-02-16
  • 2022-12-23
猜你喜欢
  • 2021-08-19
  • 2021-07-06
  • 2021-12-28
  • 2021-11-21
  • 2021-06-01
  • 2021-06-08
  • 2021-06-18
相关资源
相似解决方案