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

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
主站蜘蛛池模板: 花垣县| 宁津县| 稻城县| 榆树市| 寿宁县| 江北区| 陇川县| 永德县| 尖扎县| 五常市| 怀宁县| 鱼台县| 荔浦县| 当阳市| 连云港市| 旌德县| 樟树市| 金乡县| 张家港市| 安陆市| 临沭县| 新巴尔虎右旗| 子长县| 防城港市| 塔河县| 贺兰县| 甘孜县| 句容市| 乌兰县| 吉安市| 英超| 灵山县| 巩留县| 蓬莱市| 黔西县| 五寨县| 宾阳县| 昂仁县| 东丽区| 太白县| 大石桥市|