The grid-marginalized posterior mean of each s(x) term's latent values,
one estimate per node (bin midpoint or unique covariate value). The latent
block values are read from the fit's per-grid modes, weighted by the
hyperparameter grid weights.
Arguments
- object
A
tulpa_fitfromtulpa()withs(...)term(s) in the formula.- term
Which smoother: index or covariate name. Default 1.
Value
A data frame with columns x (node location) and estimate (the
posterior-mean smooth at that node), with the covariate name as an
attribute "var".
See also
field_effects() for a spatial field, ranef() for random
effects.