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