summary.corStruct: Summarize a corStruct Object

Description Usage Arguments Value Author(s) See Also Examples

View source: R/corStruct.R

Description

This method function prepares object to be printed using the print.summary method, by changing its class and adding a structName attribute to it.

Usage

1
2
## S3 method for class 'corStruct'
summary(object, structName, ...)

Arguments

object

an object inheriting from class "corStruct", representing a correlation structure.

structName

an optional character string defining the type of correlation structure associated with object, to be used in the print.summary method. Defaults to class(object)[1].

...

some methods for this generic require additional arguments. None are used in this method.

Value

an object identical to object, but with its class changed to summary.corStruct and an additional attribute structName. The returned value inherits from the same classes as object.

Author(s)

José Pinheiro and Douglas Bates

See Also

corClasses, corNatural, Initialize.corStruct, summary

Examples

1
2
cs1 <- corAR1(0.2)
summary(cs1)

nlme documentation built on April 7, 2018, 5:03 p.m.