View source: R/stat_density_watercolor.R
stat_density_watercolor | R Documentation |
This function creates a confidence envelope for the empirical density by bootstrapping from the data. Transparency is used to indicate the level of uncertainty.
k |
Number of bootstrapped smoothers. The default is 1000. |
alpha |
Transparency level for the paths that make up the bootstrapped fitted lines. This may
need to be adjusted if the argument |
color |
Color for the bootstrapped densities that make up the confidence envelope. The
default is |
model |
The model to bootstrap from. The default is |
These stat uses geom_line()
so support the same aesthetics: alpha
, colour
, group
,
linetype
and size
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.