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

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
主站蜘蛛池模板: 金坛市| 清远市| 高阳县| 蒙山县| 江西省| 沈阳市| 金沙县| 洪湖市| 萝北县| 田林县| 当涂县| 长武县| 乡宁县| 桂阳县| 宽城| 江山市| 道孚县| 重庆市| 海原县| 苏尼特右旗| 忻城县| 肃宁县| 盘锦市| 边坝县| 潞西市| 合阳县| 尉犁县| 天气| 新疆| 恩平市| 仁寿县| 确山县| 商城县| 屯门区| 措美县| 湖北省| 武义县| 体育| 鹤庆县| 海城市| 阆中市|