Implements the functionality of the
fanplot package as
geoms. Designed for summarising MCMC samples from a posterior distribution,
where a visualisation is desired for several values of a continuous
Increasing posterior intervals derived from the quantiles of the sampled
quantity are mapped to a continuous colour scale.
The package contains three plotting functions.
geom_fan produces fan plots
geom_interval produces line plots, where pairs of lines represent
stat_sample randomly plots a specified number of samples from the
An additional function
calc_quantiles computes relevant
quantiles for a specified set of intervals.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.