Description Usage Arguments Value Examples
Make Kernel density plot
1 | densityplot(formula, data, main = "", xlab = "", ylab = "", ...)
|
formula |
an R model formula, of the form ~ variable to estimate the unconditional density of variable, or variable ~ factor to estimate the density of variable within each level of factor. |
data |
an optional data frame containing the data. |
main |
main title of plot |
xlab |
label for the horizontal-axis; defaults to the name of the variable x. |
ylab |
label for the vertical axis; defaults to "Density". |
... |
arguments to be passed to plot |
This function return NULL invisibly and draw graphs.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.