Description Usage Arguments Author(s) See Also Examples
Given two groups with scores on a quantitative variable, densityPlotR
will draw both distributions, one for each group.
1 |
formula |
a formula object where the grouping variable is on the right side of the ~ and the response variable (quantitative) is on the left side of the ~. |
data |
a dataset containing the variables listed in the formula |
colors |
a vector the same length as the number of levels of the grouping variable indicating the colors to be used for the density lines |
... |
other arguments passed to the plot function |
Dustin Fife
boxplot
, prism.plots
, plotSigBars
1 | densityPlotR(Petal.Width~Species, data=iris)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.