Description Usage Arguments Value
View source: R/distribs.R View source: R/dppcore/R/distribs.R
Random generator for the Bernoulli distribution.
1 | rbern(n, prob)
|
n |
number of samples to generate |
prob |
event probability |
an integer
vector of 0 (non-event) and 1 (event)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.