Gradient + interval plot for model predictions
mc_model_gradientinterval.RdGradient + interval plot for model predictions
Arguments
- ...
- n_sample
The number of sample of draws to show in gradient + interval plot. Default
NA. Ifn_sampleisNA, thenmc_model_gradientinterval()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 gradient + interval plot; ifdrawis"group", then each draw is shown in an individual gradient + interval plot; ifdrawis"hops", thenmc_model_gradientinterval()will use animation to show each draw in one frame; ifdrawis an function, then all draws are aggregated bydraw(). See examples for more details.