pm_box.Rd
This function is primarily called by other functions.
pm_box_list
is a vectorized version of cont_cat
.
pm_box(df, x, y, xs = defcx(), ys = defy(), ...) pm_box_list(df, x, y, ...) cont_cat(df, x, y, xs = defcx(), ys = defy(), ...)
df | data frame to plot |
---|---|
x | character col//title for x-axis data; see |
y | character col//title for y-axis data; see |
xs | see |
ys | see |
... | other arguments passed to |
Since this function creates a boxplot,
the x
column must be character, factor
or logical and y
column must
be numeric.
Summary numbers located below each box are described in
boxwork
. The summaries will not be correct if the plot
is eventually faceted by another variable in the data set. In this case,
either use shown=FALSE
or create the plot with
split_plot
.
#> Warning: Ignoring unknown parameters: width