Description Usage Arguments Author(s) See Also Examples
Computes and plots conditional densities describing how the conditional distribution of a categorical variable y changes over a numerical variable x.
1 2 3 |
formula |
a "formula" of type y ~ x with a single dependent "factor" and a single numerical explanatory variable. |
data |
a data frame |
add.label |
logical. Should the levels of the response variable be added to the plot? |
ylevs |
numeric. The order of the levels of the response. |
text.col |
the color of the label text. |
Jason Grafmiller
See Also ggplot2, cdplot
.
1 2 3 4 | |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.