View source: R/expected_number_of_clusters_stable_process.R
log_Vnk_PY | R Documentation |
This function computes the logarithm of the Vnk weights for the Pitman-Yor model for given values of 'n', 'k', 'Alpha', and 'Gama'.
log_Vnk_PY(n, k, Alpha, Gama)
n |
An integer representing the total number of observations. |
k |
An integer representing the number of clusters. |
Alpha |
A numeric value for the concentration parameter. |
Gama |
A numeric value for the discount parameter. |
A numeric value representing the logarithm of the NRMI for the specified parameters.
BNPdensity:::log_Vnk_PY(7, 6, 0.5, 0.01)
BNPdensity:::log_Vnk_PY(6, 5, 0.5, 0.001)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.