plot_mvgam_randomeffects: Plot random effect terms from 'mvgam' models

View source: R/plot_mvgam_randomeffects.R

plot_mvgam_randomeffectsR Documentation

Plot random effect terms from mvgam models

Description

This function plots posterior empirical quantiles for random effect smooths (bs = re)

Usage

plot_mvgam_randomeffects(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

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

Value

A base R graphics plot


nicholasjclark/mvgam documentation built on April 17, 2025, 9:39 p.m.