Description Usage Arguments Examples
Confidence interval of smoothed density estimates
1 |
mapping |
NULL |
... |
other arguments described in stat_density |
ci |
confidence interval. 0.95 in default |
1 2 3 4 | library(ggplot2)
ggplot(data.frame(x = rnorm(100)), aes(x)) +
stat_density() +
stat_ci(fill = 'orange')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.