Chapter 1

Row

Size of Capital Markets

geom_smooth Linear Regression

Row

geom_smooth with Loess Smoothed Fit

Constraining Slope with stat_smooth

Chapter 2

Row

stat_density Example

Add Conditional Density Curves to Plot

Row

geom_density and facet_wrap Together

Density and Scatterplot Overlay Using geom_density