Sampling and bootstrapping

Reliable sampling from and bootstrapping of data frames

bootstrapper()

Create a bootstrapper function useful for repeated reproducible bootstrapping

sampler()

Create a sampler function useful for repeated reproducible sampling

Posterior draws

Posterior draws of GAM fits

stat_smooth_draws()

Generate outcome draws from a smooth fit

sample_outcomes() confidence_band()

Sample outcomes from a fitted model

Geoms

Miscellaneous ggplot2 geoms

geom_hpline() geom_vpline()

Draw point-like short line segments

Stats

Miscellaneous ggplot2 stats

stat_confidence_density()

Confidence density distributions generated from estimate and margin of error

stat_smooth_draws()

Generate outcome draws from a smooth fit

Data sets

Demo data sets provided with the package

cacao

Ratings of chocolate bars