This method function extracts the positive-definite matrix represented
by x
.
# S3 method for pdMat
as.matrix(x, …)
an object inheriting from class "pdMat"
,
representing a positive-definite matrix.
further arguments passed from other methods.
a matrix corresponding to the positive-definite matrix represented by
x
.
Pinheiro, J. C. and Bates, D. M. (2000), Mixed-Effects Models in S and S-PLUS, Springer, New York.
# NOT RUN {
as.matrix(pdSymm(diag(4)))
# }
Run the code above in your browser using DataLab