This is a vectorized function; see details.
eta_cat(df, x, y, hline = 0, ...)
A single plot when a single value for x
and y
are supplied; a list of plots of either x
or y
have length greater than 1.
This is a vectorized functions; if either x or y are a character vector (in col//title format), a list of plots is returned. If both x and y are length 1, then a single plot object (not a list) is returned.
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
.
df <- pmplots_data_id()
eta_cat(df, x = "STUDYc//Study", y = "ETA1//ETA-CL")