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

Basic Plotting in ggplot2

This chapter will cover basic concepts of ggplot2 and the Grammar of Graphics, using illustrative examples. You will generate solutions to problems of increasing complexity throughout the book. Lastly, you will master advanced plotting techniques, which will enable you to add more detail and increase the quality of your graphics.

In order to use ggplot2, you will first need to install R and RStudio. R is a programming language that is widely used for advanced modeling, statistical computing, and graphic production. R is considered the base package, while RStudio is a graphical interface (or IDE) that is based on R. Visualization is a very important aspect of data analysis, and it has its own underlying grammar (similar to the English language). There are many aspects of data analysis, and visualization is one of them. So, before we go further, let's discuss visualization in more detail.

By the end of this chapter, you will be able to:

  • Distinguish between different kinds of variables
  • Create simple plots and geometric objects, using qplot and ggplot2
  • Determine the most appropriate visualization by comparing variables
  • Utilize Grammar of Graphics concepts to improve plots in ggplot2
主站蜘蛛池模板: 文登市| 赞皇县| 宜阳县| 和平县| 且末县| 招远市| 临桂县| 奎屯市| 临颍县| 吴旗县| 土默特左旗| 固始县| 铅山县| 灵璧县| 衡山县| 巩留县| 徐水县| 会同县| 平昌县| 搜索| 辽阳市| 环江| 上饶县| 阳曲县| 禄丰县| 绥宁县| 青海省| 梁河县| 泽州县| 凭祥市| 镇赉县| 大宁县| 大英县| 永平县| 焉耆| 丹阳市| 平原县| 静乐县| 弥渡县| 罗城| 营山县|