Fit Mallows model N times and select most likely model. The...

Calculate the normalizing coefficient, as a function of the lambda parameter, and the size of the sequence space.

1 |

`lambda` |
Spread parameter for Mallows' model. |

`dists` |
Vector of all distances from each sequence to 1:N |

`dists.table` |
Table version of "dists" above. |

Normalizing coefficient of Mallows' model in N! space with lambda = lambda.

Erik Gregory

Questions? Problems? Suggestions? Tweet to @rdrrHQ 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.