regplot_dens: Scatterplot with regression line and densites by grouping...

View source: R/plotUtils.R

regplot_densR Documentation

Scatterplot with regression line and densites by grouping variable. Use this to evaluate overlap.

Description

Scatterplot with regression line and densites by grouping variable. Use this to evaluate overlap.

Usage

regplot_dens(df, xvar, yvar, zvar, title = "")

Arguments

df

dataframe

xvar

x variable

yvar

y variable

zvar

z variable (coerced to factor)

title

plot title

Examples

regplot_dens(mtcars, wt, mpg, am)

apoorvalal/LalRUtils documentation built on Sept. 22, 2023, 5:53 p.m.