Skip to contents

Points geom

Usage

mc_obs_point(...)

mc_model_point(..., n_sample = NA, draw = "collapse")

Arguments

...

Augments passed to ggplot2::geom_point.

n_sample

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

draw

How to show draws? Default "collapse". "collapse and "group are same for point geom, since point geom is just showing each data points. If draw is "collapse" or "group", then all draws are collapsed together and each point represents one data point; if draw is "hops", then mc_model_point() 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.