Create model matrix for prediction, for model using slp smoother
Description
Regenerate the basis matrix for a particular N, W
Slepian sequence
family member, with the additional property that the smoother captures/passes constants
without distortion. Simply rearranges object
. Not intended to be used
directly by user.
Usage
1 2  ## S3 method for class 'slp.smooth'
Predict.matrix(object,data)

Arguments
object 
a smooth specification object, usually generated by a model term 
data 
a list containing just the data required by this term, with names corresponding to

Details
Presumably because most basis sets are larger in size than their computational
burden, mgcv
passes objects around without including the actual basis
vectors. For example, if using basis cr
, the parameters are included in
object
, and then the bases recomputed as needed.
As the slp
basis is significantly more computational in nature, the
basis vectors are saved as part of the object. While mgcv
deletes
the main set of timealigned vectors, this routine restores such vectors
so that predict
and plot
work correctly.
Value
A corrected (reassembled) version of object
, which contains the
X
basis vectors in a format that can be used by predict
or
plot
.
See Also
smooth.construct
,
Predict.matrix