box {vannstats} | R Documentation |
Simplified Boxplot
Description
This function plots a Box-and-Whisker (box) on a given data frame, and uses simplified calls within the function to parse the boxplot by up to 2 variables.
Usage
box(df, var1, by1, by2)
Arguments
df |
data frame to read in. |
var1 |
the dependent/outcome variable, |
by1 |
the main independent/predictor variable, |
by2 |
a potential second independent/predictor variable, |
Examples
data <- mtcars
box(data,mpg,cyl)
[Package vannstats version 1.3.4.14 Index]