Slab (ridge) plot for model predictions
mc_model_slab.Rd
Slab (ridge) plot for model predictions
Arguments
- ...
- n_sample
The number of sample of draws to show in slab plot. Default
NA
. Ifn_sample
isNA
, thenmc_model_slab()
will use all draws from posterior distribution.- draw
How to show draws? Default
"collapse"
. Ifdraw
is"collapse"
, then all draws are collapsed together to show in one slab plot; ifdraw
is"group"
, then each draw is shown in an individual slab plot; ifdraw
is"hops"
, thenmc_model_slab()
will use animation to show each draw in one frame; ifdraw
is an function, then all draws are aggregated bydraw()
. See examples for more details.