The temporal analogue of spatial_rsr(): constrain a temporal random effect
to be orthogonal to a set of covariates, so a temporally smooth covariate does
not have its fixed-effect coefficient attenuated by a confounded temporal
field, \(u_{RTR} = (I - P_X) u\).
No tulpa backend applies that projection to a temporal field, so this
constructor errors rather than returning a specification that would fit as the
unrestricted temporal model. spatial_rsr() is the wired spatial analogue.
Arguments
- temporal
A
tulpa_temporalspecification (e.g.temporal_rw1(),temporal_ar1()).- restrict_to
A one-sided formula giving the covariate space the temporal effect is made orthogonal to, e.g.
~ x.