compress.data.frame: "Compress" a data frame

Description Usage Arguments Value See Also Examples

Description

This function "compresses" a data frame, returning unique rows and a tally of the number of times each row is repeated

Usage

1

Arguments

x

A data frame.

Value

A list with two elements:

rows

Unique rows of x

frequencies

A vector of the same length as the number or rows, giving the number of times the corresponding row is repeated

See Also

data.frame

Examples

1
2
3
4
5


Search within the statnet.common package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.