plot_box_all: Plot All Boxplots

Description Usage Arguments Examples

View source: R/plot_box.R

Description

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

Usage

1
2
3
4
5
6
7
8
plot_box_all(
  df,
  grp_var = NULL,
  identifier,
  interactive = FALSE,
  n_rows = 4,
  margins = c(0.059, 0.02, 0.02, 0.02)
)

Arguments

df

A tibble.

grp_var

A categorical variable to group by

interactive

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

n_rows

How many rows should tbe present in he faceted panel of plots?

margins

Margins to be passed to plotly::subplot() if interactive = TRUE.

cont_var

A continuous variable.

idenitifer

A variable to identify individual points if interactive = TRUE

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.