Description Usage Arguments Value Examples
Kernel Density Plot
1 2 3 |
x |
the numeric vector of interest |
rug |
should a rug of the data be plotted underneath the density? Defaults to TRUE. |
col |
The fill color of the density curve. Defaults to "#45a3ffCC" |
border |
The border color of the density curve. Defaults to "#000f1e" |
rug.col |
The color of the data rug. Defaults to "#62a3e2". |
main.title |
Defaults to "Density Plot". |
kernel |
one of the kernels from density(). Defaults to "optcosine" |
n |
number of points to generate the density grid. Defaults to 1024. |
a plot
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.