Attributes structName and noCorrelation, with the values of the corresponding arguments to the method function, are appended to object and its class is changed to summary.pdMat.

# S3 method for class 'pdMat'
summary(object, structName, noCorrelation, ...)

Arguments

object

an object inheriting from class "pdMat", representing a positive definite matrix.

structName

an optional character string with a description of the pdMat class. Default depends on the method function: "Blocked" for pdBlocked, "Compound Symmetry" for pdCompSymm, "Diagonal" for pdDiag, "Multiple of an Identity" for pdIdent, "General Positive-Definite, Natural Parametrization" for pdNatural, "General Positive-Definite" for pdSymm, and data.class(object) for pdMat.

noCorrelation

an optional logical value indicating whether correlations are to be printed in print.summary.pdMat. Default depends on the method function: FALSE for pdDiag and pdIdent, and TRUE for all other classes.

...

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

Value

an object similar to object, with additional attributes structName and noCorrelation, inheriting from class summary.pdMat.

Author

José Pinheiro and Douglas Bates bates@stat.wisc.edu

Examples

summary(pdSymm(diag(4)))
#>  Structure: General positive-definite
#>    StdDev Corr      
#> V1 1      V1   V2 V3
#> V2 1      0         
#> V3 1      0    0    
#> V4 1      0    0  0