nlme (version 3.1-1)

print.reStruct: Print an reStruct Object

Description

Each pdMat component of object is printed, together with its formula and the associated grouping level.

Usage

print(x, sigma, reEstimates, verbose=F, ...)

Arguments

x
an object inheriting from class reStruct, representing a random effects structure and consisting of a list of pdMat objects.
sigma
an optional numeric value used as a multiplier for the square-root factors of the pdMat components (usually the estimated within-group standard deviation from a mixed-effects model). Defaults to 1.
reEstimates
an optional list with the random effects estimates for each level of grouping. Only used when verbose = TRUE.
verbose
an optional logical value determining if the random effects estimates should be printed. Defaults to FALSE.
...
optional arguments passed to print.default; see the documentation on that method function.

See Also

reStruct

Examples

Run this code
library(nlme)
data(Pixel)
rs1 <- reStruct(list(Dog = ~day, Side = ~1), data = Pixel)
matrix(rs1) <- list(diag(2), 3)
print(rs1)

Run the code above in your browser using DataCamp Workspace