Extract Correlation Matrix from a pdMat Object
DESCRIPTION:
The correlation matrix corresponding to the positive-definite matrix
represented by
object
is obtained.
USAGE:
corMatrix(object)
REQUIRED ARGUMENTS:
- object
-
an object inheriting from class
pdMat
, representing
a positive definite matrix.
VALUE:
the correlation matrix corresponding to the positive-definite matrix
represented by
object
.
SEE ALSO:
,
EXAMPLES:
pd1 <- pdSymm(diag(1:4))
corMatrix(pd1)