gam, specifically by summary and predict.
"Predict.matrix"(object, data)gam smooth object,
containing non-standard list elements 'mask' and 'W'. This
object is usually constructed by a
smooth.construct method having processed a
smooth specification object generated by an
s term in a gam
formula.
smooth.construct,
if data does not consist of a contiguous index series (in time),
element 'mask' must be included as part of object. This is done
by including xt=c() as a parameter to the 's' function call. See
the examples below.
!is.na(object$data).
summary.gam as
summary.gam(object, p.type=5, freq=TRUE). This
is accomplished in this package by overloading the summary.gam
function, so the user should not have to worry about this.This function is not intended to be called directly by the user.
Wood, S.N. (2011) Fast stable restricted maximum likelihood and marginal likelihood estimation of semiparametric generalized linear models. Journal of the Royal Statistical Society - Series B (Applied Statistics), 73(1), 3-36.
Hastie, T.J. & Tibshirani, R.J. (1990) Generalized Additive Models. Chapman and Hall.