C_lam: Calculate the normalizing coefficient for Mallow's model in a sequence space.

Description

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

Usage

1
  C_lam(lambda, dists = NULL, dists.table = NULL)

Arguments

lambda

Spread parameter for Mallows' model.

dists

Vector of all distances from each sequence to 1:N

dists.table

Table version of "dists" above.

Value

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

Author(s)

Erik Gregory


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

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