Description Usage Arguments Details Value Author(s) References
Constructs prediction matrix for smooth classes used in
gam
, specifically by summary and predict.
1 2  ## S3 method for class 'sp.smooth'
Predict.matrix(object, data)

object 
Object should be a 
data 
A data frame containing the values of the named (time) covariate
at which the smooth term is to be evaluated. Just as in

Requires that summary compute standard errors using frequentist
approach, i.e. that the full original data set including missing
values (tagged as NA) be passed. This is accomplished in practice
by calling 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.
A matrix mapping the coeffients for the smooth term to its
values at the supplied data values. Consists explicitly of an
augmented Slepian basis matrix, subselected to the elements !is.na(object$data)
.
Wesley Burr wburr@mast.queensu.ca
Wood S.N. (2006) Generalized Additive Models: An Introduction with R. Chapman and Hall/CRC Press.
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), 336.
Hastie, T.J. & Tibshirani, R.J. (1990) Generalized Additive Models. Chapman and Hall.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.