prepare_partition_function: Prepare partition functions

View source: R/misc.R

prepare_partition_functionR Documentation

Prepare partition functions

Description

Utility function for estimating partition function of the Mallows model.

Usage

prepare_partition_function(logz_estimate = NULL, metric, n_items)

Arguments

logz_estimate

Optional argument containing the result of calling estimate_partition_function.

metric

Metric to be used.

n_items

Number of items.

Value

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

See Also

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


BayesMallows documentation built on Nov. 25, 2023, 5:09 p.m.