powered by
The correlation matrix corresponding to the positive-definite matrix represented by object is obtained.
object
# S3 method for pdMat corMatrix(object, …)
an object inheriting from class "pdMat", representing a positive definite matrix.
"pdMat"
some methods for this generic require additional arguments. None are used in this method.
the correlation matrix corresponding to the positive-definite matrix represented by object.
as.matrix.pdMat, pdMatrix
as.matrix.pdMat
pdMatrix
# NOT RUN { pd1 <- pdSymm(diag(1:4)) corMatrix(pd1) # }
Run the code above in your browser using DataLab