Random Effects Structure
This function is a constructor for the 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, ...)
object |
any of the following: (i) a one-sided formula of the form
|
pdClass |
an optional character string with the name of the
|
REML |
an optional logical value. If |
data |
an optional data frame in which to evaluate the variables
used in the random effects formulas in |
x |
an object inheriting from class |
sigma |
an optional numeric value used as a multiplier for
the square-root factors of the |
reEstimates |
an optional list with the random effects estimates
for each level of grouping. Only used when |
verbose |
an optional logical value determining if the random
effects estimates should be printed. Defaults to |
... |
Optional arguments can be given to other methods for this generic. None are used in this method. |
an object inheriting from class reStruct
, representing a random
effects structure.
José Pinheiro and Douglas Bates bates@stat.wisc.edu
rs1 <- reStruct(list(Dog = ~day, Side = ~1), data = Pixel) rs1
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.