random.bernoulli | R Documentation |
Generate n random Bernoulli variables
random.bernoulli(n = 1, p = 0.5)
n |
length of random vector |
p |
probability (can be a vector) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.