Description Usage Arguments Details Value Note Author(s) References See Also Examples
Improved version of gegen, Can generate n random numbers.
1 | gegenV(n, p)
|
n,p |
n as number of random numbers and p as Bernoulli trial's probability. |
-
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 p.
A.Moayedi
www.wikipedia.com
gegenV.R
1 | gegenV(20000, 0.2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.