Description Usage Arguments Value Examples
rMPG_nu_Half(alpha) generates random sample from the Modified Ploya Gamma distribution.
1 | rMPG_nu_Half(n = 1, alpha)
|
n: |
Number of samples to be generated. |
alpha: |
The parameter of the distribution, a positive number. |
The sample from the MPG(nu=.5, alpha
) dostribution.
1 2 3 4 | library(ghyp)
rMPG_nu_Half(10,1)
rMPG_nu_Half(200,100)
rMPG_nu_Half(5,10000)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.