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.
# S3 method for pcre.smooth.spec
smooth.construct(object, data, knots)
An object of class "random.effect"
. See smooth.construct
for the elements that this object will contain.
a smooth specification object, see smooth.construct
see smooth.construct
see smooth.construct
Fabian Scheipl; adapted from 're' constructor by S.N. Wood.