plot_mvgam_pterms function

Plot parametric term partial effects for mvgam models

Plot parametric term partial effects for mvgam models

This function plots posterior empirical quantiles for partial effects of parametric terms

plot_mvgam_pterms(object, trend_effects = FALSE)

Arguments

  • object: list object of class 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

Returns

A base R graphics plot

Details

Posterior empirical quantiles of each parametric term's partial effect estimates (on the link scale) are calculated and visualised as ribbon plots. These effects can be interpreted as the partial effect that a parametric term contributes when all other terms in the model have been set to 0