Create model matrix for prediction, for model using slp smoother
Re-generate 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 re-arranges
object. Not intended to be used
directly by user.
## S3 method for class 'slp.smooth' Predict.matrix(object,data)
a smooth specification object, usually generated by a model term
a list containing just the data required by this term, with names corresponding to
Presumably because most basis sets are larger in size than their computational
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 re-computed as needed.
slp basis is significantly more computational in nature, the
basis vectors are saved as part of the object. While
the main set of time-aligned vectors, this routine restores such vectors
plot work correctly.
A corrected (re-assembled) version of
object, which contains the
X basis vectors in a format that can be used by
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.