Learn R Programming

BayesMallows (version 1.5.0)

prepare_partition_function: Prepare partition functions

Description

Utility function for estimating partition function of the Mallows model.

Usage

prepare_partition_function(logz_estimate = NULL, metric, n_items)

Value

List with two elements, cardinalities and logz_estimate, one of which is NULL and the other of which contains partition function estimates.

Arguments

logz_estimate

Optional argument containing the result of calling estimate_partition_function.

metric

Metric to be used.

n_items

Number of items.

See Also

Other preprocessing: estimate_partition_function(), generate_constraints(), generate_initial_ranking(), generate_transitive_closure(), obs_freq