Rev 6563 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
% File nlme/man/formula.pdMat.Rd% Part of the nlme package for R% Distributed under GPL 2 or later: see nlme/LICENCE.note\name{formula.pdMat}\title{Extract pdMat Formula}\usage{\method{formula}{pdMat}(x, asList, \dots)}\alias{formula.pdMat}\arguments{\item{x}{an object inheriting from class \code{"\link{pdMat}"}, representinga positive definite matrix.}\item{asList}{logical. Should the \code{asList} argument be applied to eachof the components? Never used.}\item{\dots}{some methods for this generic require additionalarguments. None are used in this method.}}\description{This method function extracts the formula associated with a\code{pdMat} object, in which the column and row names are specified.}\value{if \code{x} has a \code{formula} attribute, its value isreturned, else \code{NULL} is returned.}\author{José Pinheiro and Douglas Bates \email{bates@stat.wisc.edu}}\note{Because factors may be present in \code{formula(x)}, the\code{pdMat} object needs to have access to a data frame where thevariables named in the formula can be evaluated, before it can resolveits row and column names from the formula.}\seealso{\code{\link{pdMat}}}\examples{pd1 <- pdSymm(~Sex*age)formula(pd1)}\keyword{models}