type
Type of the ppc plot as given by a character string.
Currently, the following plots (as names) are implemented
in bayesplot (v1.1.0):
boxplot
, dens
dens_overlay
(default),
ecdf_overlay
, error_binned
,
error_hist
, error_scatter
,
error_scatter_avg
, error_scatter_avg_vs_x
,
freqpoly
, freqpoly_grouped
, hist
,
intervals
, intervals_grouped
,
ribbon
, ribbon_grouped
, scatter
,
scatter_avg
, scatter_avg_grouped
,
stat
, stat_2d
, stat_freqpoly_grouped
,
stat_grouped
, and violin_grouped
.
nsamples
Positive integer indicating how many
posterior samples should be used.
If NULL
all samples are used. If not specified,
the number of posterior samples is chosen automatically.
Ignored if subset
is not NULL
.
re_formula
formula containing group-level effects
to be considered in the prediction.
If NULL
(default), include all group-level effects;
if NA
, include no group-level effects.