learning R with swirl-Base Graphics

来源:互联网 发布:萧山网络问政关注 编辑:程序博客网 时间:2024/06/04 18:24

   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.









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




原创粉丝点击