View source: R/set_model_options.R
set_model_options | R Documentation |
Specify various model options for the Bayesian Mallows model.
set_model_options(
metric = c("footrule", "spearman", "cayley", "hamming", "kendall", "ulam"),
n_clusters = 1,
error_model = c("none", "bernoulli")
)
metric |
A character string specifying the distance metric to use in the
Bayesian Mallows Model. Available options are |
n_clusters |
Integer specifying the number of clusters, i.e., the number
of mixture components to use. Defaults to |
error_model |
Character string specifying which model to use for
inconsistent rankings. Defaults to |
An object of class "BayesMallowsModelOptions"
, to be provided in
the model_options
argument to compute_mallows()
,
compute_mallows_mixtures()
, or update_mallows()
.
Other preprocessing:
get_transitive_closure()
,
set_compute_options()
,
set_initial_values()
,
set_priors()
,
set_progress_report()
,
set_smc_options()
,
setup_rank_data()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.