regplot_dens | R Documentation |
Scatterplot with regression line and densites by grouping variable. Use this to evaluate overlap.
regplot_dens(df, xvar, yvar, zvar, title = "")
df |
dataframe |
xvar |
x variable |
yvar |
y variable |
zvar |
z variable (coerced to factor) |
title |
plot title |
regplot_dens(mtcars, wt, mpg, am)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.