Rev 251 | Rev 4679 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
% $Id: pdMatrix.reStruct.Rd,v 1.6 2002/03/05 14:59:39 bates Exp $\name{pdMatrix.reStruct}\title{Extract Matrix or Square-Root Factor from Components of anreStruct Object}\usage{\method{pdMatrix}{reStruct}(object, factor)}\alias{pdMatrix.reStruct}\arguments{\item{object}{an object inheriting from class \code{reStruct},representing a random effects structure and consisting of a list of\code{pdMat} objects.}\item{factor}{an optional logical value. If \code{TRUE}, square-rootfactors of the positive-definite matrices represented by the elementsof \code{object} are returned; else, if \code{FALSE}, thepositive-definite matrices are returned. Defaults to \code{FALSE}.}}\description{This method function extracts the positive-definite matricescorresponding to the \code{pdMat} elements of \code{object}, orsquare-root factors of the positive-definite matrices.}\value{a list with components given by the positive-definite matricescorresponding to the elements of \code{object}, or square-root factorsof the positive-definite matrices.}\author{Jose Pinheiro \email{Jose.Pinheiro@pharma.novartis.com} and Douglas Bates \email{bates@stat.wisc.edu}}\seealso{\code{\link{as.matrix.reStruct}}, \code{\link{reStruct}},\code{\link{pdMatrix.pdMat}}}\examples{rs1 <- reStruct(pdSymm(diag(3), ~age+Sex, data = Orthodont))pdMatrix(rs1)}\keyword{models}