Formula and etc.
rgnzp(n, lambda, alpha = 0)
n | Number of observations to be generated. |
---|---|
lambda | Vector that represents the mean (expected value) of the
distribution ( |
alpha | Vector that represents the dispersion parameter of the
distribution. Values of |
rgnzp
returns a vector of random generated numbers.
The function to generate random numbers is implemented in C++.
rgnzp(n = 10, lambda = 5, alpha = 0)#> [1] 2 5 4 2 3 3 2 4 4 3