rbernoulli | R Documentation |
This function was deprecated in purrr 1.0.0 because it's not related to the core purpose of purrr.
rbernoulli(n, p = 0.5)
n |
Number of samples |
p |
Probability of getting |
A logical vector
rbernoulli(10)
rbernoulli(100, 0.1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.