plot_box: Plot a Boxplot

Description Usage Arguments Examples

View source: R/plot_box.R

Description

Plot boxplots for a continuous variable across zero or one categorical variable.

Usage

1
plot_box(df, cont_var, grp_var = NULL, identifier, interactive = FALSE)

Arguments

df

A tibble.

cont_var

A continuous variable.

grp_var

A categorical variable to group by

identifier

A variable to identify individual points if interactive = TRUE

interactive

If true, plots are passed to plotly and display tooltips.

Examples

1
plot_box(mtcars, cont_var = mpg, grp_var = cyl, identifier = am)

PsychlytxTD/fht documentation built on July 4, 2020, 5:42 p.m.