StatDensityConfidence.Rd
This function creates a normal theory based confidence envelope for the empirical density.
StatDensityConfidence
An object of class StatDensityConfidence
(inherits from Stat
, ggproto
, gg
) of length 4.
A normal kernel function is used and h
is its standard deviation. If this parameter is
omitted, a normal optimal smoothing parameter is used.
Fill color for the confidence envelope. The default is fill="skyblue"
The model to draw the confidence envelope for. The default is model="none"
which creates the
confidence envelope from the data. Using model="normal"
creates the confidence envelope based on a normal distribution.