log_Vnk_PY: Calculate the Logarithm of the Vnk weights for the Pitman-Yor...

View source: R/expected_number_of_clusters_stable_process.R

log_Vnk_PYR Documentation

Calculate the Logarithm of the Vnk weights for the Pitman-Yor model

Description

This function computes the logarithm of the Vnk weights for the Pitman-Yor model for given values of 'n', 'k', 'Alpha', and 'Gama'.

Usage

log_Vnk_PY(n, k, Alpha, Gama)

Arguments

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.

Value

A numeric value representing the logarithm of the NRMI for the specified parameters.

Examples

BNPdensity:::log_Vnk_PY(7, 6, 0.5, 0.01)
BNPdensity:::log_Vnk_PY(6, 5, 0.5, 0.001)

BNPdensity documentation built on Aug. 8, 2025, 7:20 p.m.