Description Usage Arguments Value Examples
This function plots a histogram (hst) on a given data frame, and uses simplified calls within the function to parse the histogram by up to 2 variables.
1 |
df |
data frame to read in. |
var1 |
the dependent/outcome variable, Y. The variable of interest that should be plotted. |
by1 |
the main independent/predictor variable, X_1. A grouping variable by which the histogram for |
by2 |
a potential second independent/predictor variable, X_2. A second grouping variable by which the histogram for |
This function returns the histogram for var1
in data frame df
. Can be split to return a histogram for var1
in data frame df
, broken out by var2
.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.