Description Usage Arguments Value Author(s)
Make a barplot of a binary variable, stratified by a certain function, like which.percentile, or which.quantile.
1 | barplot_stratum(binary, strata, proportion = TRUE, ...)
|
binary |
a boolean vector |
strata |
an additional vector that describes which
strata each point came from, such as which percentile.
see |
proportion |
logical: y-axis as a proportion? Recommended to be TRUE |
... |
arguments passed to
|
none. makes a plot
Mark Cowley, 2008-12-22
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.