Month November 2023

Adding Marginal Density Plots to a Graph in R

In this video I demonstrate how to add marginal density plots to your ggplot2 scatterplots in R using two different R packages – ggExtra and ggside. Using these packages I will show you how to add density curves, histograms, boxplots,…