Description Usage Arguments Details Value Note Author(s) References See Also Examples
Improved version of brgen, Can generate n random numbers.
1 | brgenV(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 parameters.
P.Tayefeh morsal
www.wikipedia.com
brgenV.R
1 | brgenV(100, 0.7)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.