nbconv_params {nbconv} | R Documentation |
Summary statistics
Description
Calculates distribution parameters for the convolution of arbitrary negative binomial random variables.
Usage
nbconv_params(mus, phis, ps)
Arguments
mus |
Vector of individual mean values |
phis |
Vector of individual dispersion parameters. Equivalent to 'size' in dnbinom. |
ps |
Vector of individual probabilities of success. |
Value
A named numeric vector of distribution parameters.
Examples
nbconv_params(mus = c(100, 10), phis = c(5, 8))
[Package nbconv version 1.0.1 Index]