nlme (version 3.1-164)

collapse: 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, ...)

Value

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

Arguments

object

an object to be collapsed, usually a data frame.

...

some methods for the generic may require additional arguments.

Author

José Pinheiro and Douglas Bates bates@stat.wisc.edu

See Also

collapse.groupedData

Examples

Run this code
## see the method function documentation

Run the code above in your browser using DataCamp Workspace