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

1 |

`x` |
A data frame. |

A `list`

with two elements:

`rows ` |
Unique rows of |

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

data.frame

1 2 3 4 5 |

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

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