Description Usage Arguments Value Examples
Generate random values from a beta-Poisson model
1 | rBP(n, alp, bet, lam1 = 1, lam2 = 1, prob0 = 0)
|
n |
The number of random data points |
alp |
A non-negative value, the parameter of Beta function (alpha) |
bet |
A non-negative value, the parameter of Beta function (beta) |
lam1 |
A non-negative value, the parameter for scaling |
lam2 |
A non-negative value, the parameter for smoothing, used for BP4 or BP5 |
prob0 |
A non-negative value in [0;1), the parameter for the portion of fixed density of zero in the distribution, used for BP5 |
A vector of the generated data points
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.