Rev 6562 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
% File nlme/man/getGroups.varFunc.Rd% Part of the nlme package for R% Distributed under GPL 2 or later: see nlme/LICENCE.note\name{getGroups.varFunc}\title{Extract varFunc Groups}\usage{\method{getGroups}{varFunc}(object, form, level, data, sep)}\alias{getGroups.varFunc}\arguments{\item{object}{an object inheriting from class \code{varFunc},representing a variance function structure.}\item{form}{an optional formula with a conditioning expression on itsright hand side (i.e. an expression involving the \code{|}operator). Defaults to \code{formula(object)}. Not used.}\item{level}{a positive integer vector with the level(s) of grouping tobe used when multiple nested levels of grouping are present. Thisargument is optional for most methods of this generic function anddefaults to all levels of nesting. Not used.}\item{data}{a data frame in which to interpret the variables named in\code{form}. Optional for most methods. Not used.}\item{sep}{character, the separator to use between group levels whenmultiple levels are collapsed. The default is \code{'/'}. Not used.}}\description{This method function extracts the grouping factor associated with thevariance function represented by \code{object}, if any is present.}\value{if \code{object} has a \code{groups} attribute, its value isreturned; else \code{NULL} is returned.}\author{José Pinheiro and Douglas Bates \email{bates@stat.wisc.edu}}\examples{vf1 <- varPower(form = ~ age | Sex)vf1 <- Initialize(vf1, Orthodont)getGroups(vf1)}\keyword{models}