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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.