xy_boxplots: Plot x vs. y with boxplots outside of each axis

View source: R/random_utility.R

xy_boxplotsR Documentation

Plot x vs. y with boxplots outside of each axis

Description

Plot x vs. y with boxplots outside of each axis

Usage

xy_boxplots(data, x, y, ...)

Arguments

data

A dataframe with the columns "x" and "y" (numeric) to be plotted.

x

A character string "x" with the column name to be plotted on the x-axis

y

A character string "y" with the column name to be plotted on the y-axis

...

Optional arguments 'color' and 'color_labels'. 'color' must be a factor, 'color_labels' must be a character string of the same length as the number of levels in factor 'color'

Value

a ggplot object


hammocar/hammond documentation built on Sept. 28, 2022, 7:53 p.m.