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

Description Usage Arguments Value Author(s)

View source: R/C_lam.R

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


RMallow documentation built on May 29, 2017, 4:21 p.m.