This function takes in input a matrix containing all the observed ranks (a rank can be repeated) and returns a matrix containing all the different observed ranks with their observation frequencies (in the last column).

1 |

`X` |
a matrix containing ranks. |

`m` |
a vector with the size of ranks of each dimension. |

A matrix containing each different observed ranks with its observation frequencies in the last column.

Quentin Grimonprez

1 2 3 |

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.