For all pairs of rows in a matrix, calculate the proportion of mismatches or the RMS difference.

1 | ```
compare_rows(mat, method = c("prop_mismatches", "rms_difference"))
``` |

`mat` |
Numeric matrix. Should be integers in the case |

`method` |
Indicates whether to use proportion mismatches or the RMS difference. Missing values are omitted. |

A square matrix of dimension `nrow(mat)`

with
`NA`

s on the diagonal and the calculated statistic in the
body.

1 2 3 4 |

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.