Description Usage Arguments Details Value Note Author(s) References See Also Examples
Improved version of expgen, Can generate n random numbers.
1 | gagenV(n, k, landa)
|
n, k, landa |
n as number of random numbers, k as number of random numbers from Poisson distribution with landa as parameter <ce><bb>, summed in order to generate a Gamma random variable. |
-
This fanction returns a vector containing the random numbers.
This function also plots the random numbers in order to visualize this distribution with the given parameter <ce><bb> and k.
P.Tayefeh Morsal
www.wikipedia.com
gagenV.R
1 | gagenV(1000, 100, 2.5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.