ggside: Plot Linear Regression using Marginal Distributions (ggplot2 extension)

preview_player
Показать описание
Marginal Distribution (Density) plots are a way to extend your numeric data with side plots that highlight the density (histogram or boxplots work too).

Marginal Distribution Plots were made popular with the seaborn jointplot() in Python. They can now be made in R using #ggside, an new #ggplot2 extension! You can make linear regression with marginal distributions using histograms, densities, box plots, and more.

Bonus - The side panels are super customizable for uncovering complex relationships.

GET THE CODE SHOWN IN THE VIDEO:

Are you ready to get a job, make a data science transition, and accelerate your career? Then read on!

MY COURSES WILL SKYROCKET 🚀 YOUR CAREER IN WEEKS:

TABLE OF CONTENTS
00:00 Introduction to ggside
00:25 GitHub Project Setup
01:13 Libraries: ggside, tidyverse, tidyquant
01:42 Data - mpg dataset
02:13 Plot 1 - Side-Density Plot with Scatterplot Main
06:26 Plot 2 - Faceted Main Plot with Side-Boxplot
Рекомендации по теме
Комментарии
Автор

Hello, Developer here! Super happy to see people so receptive to ggside. The package is available on CRAN, but the development branch of the Github has a few convinces added that give the user a bit more control over how the side axes are displayed. Hopefully I will be able to push out the development branch to CRAN before the end of May. Thanks again!

justinlandis
Автор

Definitely a good addon to the already fabulous power of ggplot. I'm definitely going to try this!

caty
Автор

Thanks, Matt. Great nuggets of knowledge every week!

jgeise
Автор

These are some really helpful tips (and I'm referring to all your videos). Thanks!

tanishquepropkarmalik
Автор

can we make this plot interactive plots?

vishalrahangdale
Автор

if i only want to plot density plot in 100 % . then?

nitinshukla
Автор

how can i access this code as i dont have github account?

gopeshjha
Автор

To me Trans look better than stack, if there are multiple peak. Hehe dont wanna miss a thing

HA-vhti