- R Graphs Cookbook Second Edition
- Jaynal Abedin Hrishi V. Mittal
- 86字
- 2021-08-05 17:30:34
Chapter 4. Creating Scatter Plots
In this chapter, we will cover the following recipes:
- Grouping data points within a scatter plot
- Highlighting grouped data points by size and symbol type
- Labeling data points
- Correlation matrix using pairs plot
- Adding error bars
- Using jitter to distinguish closely packed data points
- Adding linear model lines
- Adding nonlinear model curves
- Adding nonparametric model curves with lowess
- Creating three-dimensional scatter plots
- Creating Quantile-Quantile plots
- Displaying the data density on axes
- Creating scatter plots with a smoothed density representation