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

  • R Graphs Cookbook Second Edition
  • Jaynal Abedin Hrishi V. Mittal
  • 254字
  • 2021-08-05 17:30:34

Introduction

In this chapter, we will learn about scatter plots in depth by looking at some advanced recipes. Scatter plots are one of the most commonly used type of graphs in data analysis. In the first chapter, we learned how to create a basic scatter plot. Now, we will learn how we can create more enhanced plots by adjusting various arguments and using some new functions.

So far, we have mostly only used the base graphics functions such as plot(), but in this chapter, we have recipes that use other graph libraries such as lattice and ggplot2, which offer more advanced control over graphs. It is possible to create these advanced graphs using the base library too, but the additional libraries give us ways to achieve the same results with less code and often produce better-looking graphs with the least amount of effort.

A lot of new functions will be introduced in this chapter. It is a good practice to look up the help file whenever you encounter a new function. For example, to look up the help file for the plot() function, you can type ?plot or help(plot) in the R command prompt.

As the recipes in this chapter are slightly more advanced than the earlier chapters, you may require some practice with multiple datasets before you are comfortable with using all the functions. Example datasets are used in each recipe, but it is highly recommended that you also work with your own datasets and modify the recipes to suit your own analysis.

主站蜘蛛池模板: 海南省| 陆良县| 怀来县| 南昌市| 米泉市| 清丰县| 江阴市| 辰溪县| 左贡县| 阿巴嘎旗| 通渭县| 长岛县| 习水县| 深州市| 太仓市| 新民市| 淮滨县| 镇坪县| 彩票| 德保县| 渭源县| 庆城县| 桐柏县| 安阳县| 龙山县| 衢州市| 邢台市| 博乐市| 康定县| 团风县| 泉州市| 沁阳市| 临漳县| 凤翔县| 武威市| 桂阳县| 龙门县| 宜宾市| 浏阳市| 夏河县| 政和县|