smooth.construct.pcre.smooth.spec {refund} | R Documentation |
mgcv-style constructor for PC-basis functional random effects
Description
Sets up design matrix for functional random effects based on the PC scores
of the covariance operator of the random effect process.
See smooth.construct.re.smooth.spec
for more details on mgcv
-style smoother specification
and pcre
for the corresponding pffr()
-formula wrapper.
Usage
## S3 method for class 'pcre.smooth.spec'
smooth.construct(object, data, knots)
Arguments
object |
a smooth specification object, see |
data |
see |
knots |
see |
Value
An object of class "random.effect"
. See smooth.construct
for the elements that this object will contain.
Author(s)
Fabian Scheipl; adapted from 're' constructor by S.N. Wood.
[Package refund version 0.1-35 Index]