The function PYcalibrate elicits the strength parameter of the Pitman-Yor
process, given the discount parameter and the prior expected number of clusters.
Usage
PYcalibrate(Ek, n, discount = 0)
Arguments
Ek
prior expected number of cluster;
n
sample size;
discount
discount parameter; default is set equal to 0, corresponding to a Dirichlet process prior.
Value
A named list containingtthe values of strength and discount parameters.