rbern | R Documentation |
See McElreaths Rethinking package for details
rbern(n, prob = 0.5)
n |
Number of samples |
prob |
Probability |
Binary samples
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.