nb_param_convert.Rd
Negative binomial parameterization conversion
nb_param_convert(size = NULL, prob = NULL, mu = NULL)
named vector providing alternative parameterization for use with stats::rnbinom and related functions.
Converts between the mean-dispersion parameterization and the probability-size parameterization of the Negative Binomial. Supply either prob and size to get mu (mean) and size (dispersion), or mu and size to get prob and size.