catPropPlot | R Documentation |
Creates a color-coded proportion plot good for variables that can be sequentially cumulative (e.g., substrate bigger than x, bigger than x+x1,...)
catPropPlot(cat, prop, time, catOrder, col = gray(seq(0, 1, length.out = length(catOrder))), ...)
cat |
Categorical data to be plotted (categories for y-variable) |
prop |
Proprortional data (y-variable) |
time |
Time variable (x-variable) |
catOrder |
Order of the categorical variables as a vector in the correct order |
col |
Colors for categories. Should be the same length as length(cat). Defaults to a gray-scale. |
A plot of proportional data over time
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.