x
as.matrix(x)
pdMat
corMatrix
as.matrix(pdSymm(diag(4)))
Run the code above in your browser using DataLab