nlme (version 3.1-86)

reStruct: Random Effects Structure

Description

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.

Usage

reStruct(object, pdClass, REML, data)
## S3 method for class 'reStruct':
print(x, sigma, reEstimates, verbose, \dots)

Arguments

Value

an object inheriting from class reStruct, representing a random effects structure.

See Also

groupedData, lme, pdMat, solve.reStruct, summary.reStruct, update.reStruct

Examples

Run this code
rs1 <- reStruct(list(Dog = ~day, Side = ~1), data = Pixel)
rs1

Run the code above in your browser using DataLab