Eye (violin + interval) plot for model predictions
mc_model_eye.Rd
Eye (violin + interval) plot for model predictions
Arguments
- ...
- n_sample
The number of sample of draws to show in eye plot. Default
NA
. Ifn_sample
isNA
, thenmc_model_eye()
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 eye plot; ifdraw
is"group"
, then each draw is shown in an individual eye plot; ifdraw
is"hops"
, thenmc_model_eye()
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.