| mkReTrms {lme4} | R Documentation |
From the result of findbars applied to a
model formula and and the evaluation frame, create the
model matrix, etc. associated with random-effects terms.
See the description of the returned value for a detailed
list.
mkReTrms(bars, fr)
bars |
a list of parsed random-effects terms |
fr |
a model frame in which to evaluate these terms |
a list with components
Zt |
transpose of the sparse model matrix for the random effects |
Lambdat |
transpose of the sparse relative covariance factor |
Lind |
an integer vector of
indices determining the mapping of the elements of the
|
theta |
initial values of the covariance parameters |
lower |
lower bounds on the covariance parameters |
flist |
list of grouping factors used in the random-effects terms |
cnms |
a list of column names of the random effects according to the grouping factors |
Other utilities: findbars,
mkRespMod, nlformula,
nobars, subbars