Description Usage Arguments Author(s) See Also
Plots density distributions for a set of vectors.
1 2 3 4 5 6 7 8 9 10 | ## S3 method for class 'data.frame'
plotDensity(X, ..., xlab=NULL)
## S3 method for class 'matrix'
plotDensity(X, ..., xlab=NULL)
## S3 method for class 'numeric'
plotDensity(X, ..., xlab=NULL)
## S3 method for class 'list'
plotDensity(X, W=NULL, xlim=NULL, ylim=NULL, xlab=NULL,
ylab="density (integrates to one)", col=1:length(X), lty=NULL, lwd=NULL, ...,
add=FALSE)
|
X |
A single of |
W |
(optional) weights of similar data types and dimensions as
|
xlim,ylim |
|
xlab,ylab |
|
col |
The color(s) of the curves. |
lty |
The types of curves. |
lwd |
The width of curves. |
... |
Additional arguments passed to |
add |
If |
Henrik Bengtsson
Internally, density
is used to estimate the
empirical density.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.