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, and violin plots for the marginal distributions and how to divide them by different categories.
Access the code and join my mailing list at drlyndonwalker...
Support the channel by using my Amazon affiliate link for your next Amazon purchase amzn.to/48nrJ4M
My SkillShare courses: (includes a 1 month free trial)
How to Write an Academic Journal Article skl.sh/3hpm3i0
Introduction to Flipped Classroom Teaching skl.sh/3TBK7jw
Connect with me:
💻 My Website - www.drlyndonwa...
🐥 My Twitter - / drlyndonwalker
Join my Facebook Community - / drlyndonwalker
Негізгі бет Adding Marginal Density Plots to a Graph in R
Пікірлер