官术网_书友最值得收藏!

Chapter 1. R Graphics

R provides a number of well-known facilities that produce a variety of graphs to meaningfully visualize data. It has low-level facilities where we deal with basic shapes to draw graphs and high-level facilities. There are functions available here to produce quality graphs; these functionalities are usually developed using certain combinations of basic shapes. Using R, we can produce traditional plots, the trellis plot, and very high-level graphs inspired by the Grammar of Graphics implemented in the ggplot2 package. The default graphics package is useful for traditional plots, lattice provides facilities to produce trellis graphs, and the ggplot2 package is the most powerful high-level graphical tool in R. Other than these, there are low-level facilities that draw basic shapes, and arranging the shapes in their relative position is an important step in order to create meaningful data visualization. In this chapter, we will introduce both low-level graphics (also known as base graphics) and high-level graphics using different packages. Particularly, the content of this chapter will be as follows:

  • Base graphics using the default package
  • Trellis graphs using lattice
  • Graphs inspired by Grammar of Graphics
主站蜘蛛池模板: 光泽县| 桐庐县| 黄浦区| 阿拉善右旗| 平凉市| 桃园市| 康乐县| 柞水县| 太保市| 枣阳市| 东宁县| 上思县| 信宜市| 福建省| 天祝| 临高县| 穆棱市| 抚远县| 荔波县| 林口县| 垫江县| 略阳县| 德清县| 南阳市| 昂仁县| 陈巴尔虎旗| 偏关县| 吉安市| 应城市| 阿拉尔市| 新余市| 衡阳市| 民乐县| 定南县| 水城县| 平凉市| 安龙县| 阿瓦提县| 伊宁市| 信丰县| 凤阳县|