corMatrix.pdMat {nlme} | R Documentation |
The correlation matrix corresponding to the positive-definite matrix
represented by object
is obtained.
corMatrix(object)
object |
an object inheriting from class pdMat , representing
a positive definite matrix. |
the correlation matrix corresponding to the positive-definite matrix
represented by object
.
Jose Pinheiro and Douglas Bates
library(nlme) pd1 <- pdSymm(diag(1:4)) corMatrix(pd1)