collapse.Rd
This function is generic; method functions can be written to handle
specific classes of objects. Currently, only a groupedData
method is available.
collapse(object, ...)
will depend on the method function used; see the appropriate documentation.