Description Usage Arguments Value See Also Examples
generates "count" bernouli random variables, each by conditioning on a uniform random variable.
1 | brgen(count , p)
|
count |
length of the vector of generated numbers |
p |
parameter p - success probability |
a vector of length count of bernoulli random variables.
1 | brgen(100 , 0.6)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.