Arguments
formula
a formula object, with the response on the left of a $\sim$ operator, and the bases
of the null space $H_0$ of the non-parametric function and other terms, separated by + operators, on the right.
rk
a list of expressions that specify the reproducing kernels of the spline function(s), $R^1,\dots,R^p$ for spaces $H_1,\dots,H_p$. See the help file of ssr for more details.
data
An optional data frame containing the variables appearing in formula
, random
, rk
, correlation
, weights
.
By default, the variables are taken from the environment from which slm
random
A named list of formulae, lists of formulae, or pdMat objects, which defines
nested random effects structures. See help file of lme for more details.
weights
An optional varFun
object or one-sided formula describing the within-group heteroscedasticity stucture.
See the help file of lme
for more details.
correlation
An optional corStruct
object specifying the within-group correlation structure. See lme
for more details.
control
an optional list of any applicable control parameters from lme
.