Rev 4679 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
% $Id: Matrix.pdMat.Rd,v 1.2.2.1 2003/08/09 22:45:17 bates Exp $\name{Matrix.pdMat}\title{Assign Matrix to a pdMat Object}\usage{\method{matrix}{pdMat}(object) <- value}\alias{matrix<-.pdMat}\alias{matrix<-.pdBlocked}\arguments{\item{object}{an object inheriting from class \code{pdMat}, representinga positive definite matrix.}\item{value}{a matrix with the new values to be assigned to thepositive-definite matrix represented by \code{object}. Must have thesame dimensions as \code{as.matrix(object)}.}}\description{The positive-definite matrix represented by \code{object} is replacedby \code{value}. If the original matrix had row and/or column names,the corresponding names for \code{value} can either be \code{NULL}, ora permutation of the original names.}\value{a \code{pdMat} object similar to \code{object}, but with itscoefficients modified to produce the matrix in \code{value}.}\author{Jose Pinheiro \email{Jose.Pinheiro@pharma.novartis.com} and Douglas Bates \email{bates@stat.wisc.edu}}\seealso{\code{\link{pdMat}}}\examples{pd1 <- pdSymm(diag(3))matrix(pd1) <- diag(1:3)pd1}\keyword{models}