Description Usage Arguments Value Examples
View source: R/densities.plot.R
Plot densities for multiple modes.
1 2 | densities.plot(x, modes = 1:4, mark_modes = TRUE, in_one = TRUE *
(length(modes) < 4))
|
x |
Vector of data. |
modes |
The modes to plot density estimates for. |
mark_modes |
Whether or not to indicate modes in the plot. |
in_one |
Whether to produce one plot. Default is true for |
The function does not return anything, but creates a plot.
1 | densities.plot(c(rnorm(10), rnorm(10, mean = 10)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.