Skip to contents

Line geom

Usage

mc_obs_line(...)

mc_model_line(..., n_sample = NA, draw = "group")

Arguments

...

Augments passed to ggplot2::geom_line.

n_sample

The number of sample of draws to show. Default NA. If n_sample is NA, then mc_model_line() will use all draws from posterior distribution.

draw

How to show draws? Default "group". If draw is "collapse", then all draws are collapsed together and are connected by one line; if "draw" is "group", then data from each draw is connected by one line; if draw is "hops", then mc_model_line() will use animation to show each draw in one frame; if draw is an function, then all draws are aggregated by draw(). See examples for more details.