reStruct
class,
representing a random effects structure and consisting of a list of
pdMat
objects, plus a settings
attribute containing
information for the optimization algorithm used to fit the associated
mixed-effects model.reStruct(object, pdClass, REML, data)
## S3 method for class 'reStruct':
print(x, sigma, reEstimates, verbose, \dots)
~x1+...+xn | g1/.../gm
, with x1+...+xn
specifying the
model for the random effects and g1/.../gm
the grouping
structure (m
may be equal pdMat
class to be used for the formulas in
object
. Defaults to "pdSymm"
which corresponds to a
general positive-definite matrix.TRUE
, the associated
mixed-effects model will be fitted using restricted maximum
likelihood; else, if FALSE
, maximum likelihood will be
used. Defaults to FALSE
.object
. It is used to
obtain the levels for factors
, which affect the dimensions and
the row/column names of the underlyingreStruct
to be printed.pdMat
components (usually the
estimated within-group standard deviation from a mixed-effects
model). Defaults to 1.verbose = TRUE
.FALSE
.reStruct
, representing a random
effects structure.groupedData
,
lme
,
pdMat
,
solve.reStruct
,
summary.reStruct
,
update.reStruct
rs1 <- reStruct(list(Dog = ~day, Side = ~1), data = Pixel)
rs1
Run the code above in your browser using DataLab