This function plots posterior empirical quantiles for random effect smooths (bs = re)
Usage
plot_mvgam_randomeffects(object, trend_effects = FALSE)
Arguments
- object
list
object returned from mvgam
. See mvgam()
- trend_effects
logical. If TRUE
and a trend_formula
was used in model
fitting, terms from the trend (i.e. process) model will be plotted
Value
A base R
graphics plot
Details
Posterior empirical quantiles of random effect coefficient estimates
(on the link scale) are calculated and visualised as ribbon plots.
Labels for coefficients are taken from the levels of the original factor variable
that was used to specify the smooth in the model's formula