stat_ci: Confidence interval of smoothed density estimates

Description Usage Arguments Examples

Description

Confidence interval of smoothed density estimates

Usage

1
stat_ci(mapping = NULL, ..., ci = 0.95)

Arguments

mapping

NULL

...

other arguments described in stat_density

ci

confidence interval. 0.95 in default

Examples

1
2
3
4
library(ggplot2)
ggplot(data.frame(x = rnorm(100)), aes(x)) +
stat_density() +
stat_ci(fill = 'orange')

atusy/ggAtusy documentation built on June 6, 2019, 8:41 p.m.