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

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
主站蜘蛛池模板: 封开县| 望奎县| 松阳县| 白城市| 盘锦市| 固阳县| 安西县| 宝丰县| 怀仁县| 广安市| 临西县| 宿迁市| 天门市| 得荣县| 宁强县| 阿巴嘎旗| 郧西县| 荥经县| 崇信县| 桃园市| 卢湾区| 古田县| 玛沁县| 平果县| 上思县| 通城县| 通辽市| 清原| 丰原市| 吐鲁番市| 金堂县| 靖安县| 滨海县| 准格尔旗| 新河县| 射洪县| 襄汾县| 大兴区| 阳西县| 兰溪市| 宾川县|