View source: R/compute_exact_partition_function.R
compute_exact_partition_function | R Documentation |
For Cayley, Hamming, and Kendall distances, computationally tractable functions are available for the exact partition function.
compute_exact_partition_function(
alpha,
n_items,
metric = c("cayley", "hamming", "kendall")
)
alpha |
Dispersion parameter. |
n_items |
Number of items. |
metric |
Distance function, one of "cayley", "hamming", or "kendall". |
The logarithm of the partition function.
Other partition function:
estimate_partition_function()
,
get_cardinalities()
compute_exact_partition_function(
alpha = 3.4, n_items = 34, metric = "cayley"
)
compute_exact_partition_function(
alpha = 3.4, n_items = 34, metric = "hamming"
)
compute_exact_partition_function(
alpha = 3.4, n_items = 34, metric = "kendall"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.