Collapse According to Groups

DESCRIPTION:

This function is generic; method functions can be written to handle specific classes of objects. Currently, only a groupedData method is available.

USAGE:

collapse(object, ...) 

REQUIRED ARGUMENTS:

object
an object to be collapsed, usually a data frame.

OPTIONAL ARGUMENTS:

...
some methods for the generic may require additional arguments.

VALUE:

will depend on the method function used; see the appropriate documentation.

SEE ALSO:

EXAMPLES:

## see the method function documentation