refund (version 0.1-23)

smooth.construct.pcre.smooth.spec: 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 pcre.smooth.spec
smooth.construct(object, data, knots)

Arguments

object

a smooth specification object, see smooth.construct

Value

An object of class "random.effect". See smooth.construct for the elements that this object will contain.