Matrix.pdMat Assign Matrix to a pdMat or pdBlocked ObjectThe positive-definite matrix represented by object is replaced by value. If the original matrix had row and/or column names, the corresponding names for value can either be NULL, or a permutation of the original names.
## S3 replacement method for class 'pdMat' matrix(object) <- value ## S3 replacement method for class 'pdBlocked' matrix(object) <- value
object | an object inheriting from class |
value | a matrix with the new values to be assigned to the positive-definite matrix represented by |
a pdMat or pdBlocked object similar to object, but with its coefficients modified to produce the matrix in value.
José Pinheiro and Douglas Bates [email protected]
class(pd1 <- pdSymm(diag(3))) # "pdSymm" "pdMat" matrix(pd1) <- diag(1:3) pd1
Copyright (©) 1999–2012 R Foundation for Statistical Computing.
Licensed under the GNU General Public License.