Get the posterior distribution of the linear predictor of a model term
getPosteriorTerm(label = NULL, model, betaInd = NULL)
(character) one of the terms in model
a spikeSlabGAM
object
(optional) the column indices of the part of the design matrix for which the linear predictor is to be evaluated.
a matrix containing the samples of the linear predictor associated
with label
; with attribute 'coef'
that contains the posterior
samples of the associated coefficients.