.\" -*- nroff -*- generated from .Rd format
.BG
.FN collapse
.TL
Collapse According to Groups
.DN
This function is generic; method functions can be written to handle
specific classes of objects. Currently, only a `groupedData'
method is available.
.CS
collapse(object, ...)
.RA
.AG object
an object to be collapsed, usually a data frame.
.OA
.AG ...
some methods for the generic may require additional
arguments.
.RT
will depend on the method function used; see the appropriate documentation.

.SA
`collapse.groupedData'
.EX
## see the method function documentation
.KW models
.WR
