nlme (version 3.1-86)

as.matrix.pdMat: Matrix of a pdMat Object

Description

This method function extracts the positive-definite matrix represented by x.

Usage

## S3 method for class 'pdMat':
as.matrix(x, \dots)

Arguments

Value

a matrix corresponding to the positive-definite matrix represented by x.

References

Pinheiro, J. C. and Bates, D. M. (2000), Mixed-Effects Models in S and S-PLUS, Springer, New York.

See Also

pdMat, corMatrix

Examples

Run this code
as.matrix(pdSymm(diag(4)))

Run the code above in your browser using DataCamp Workspace