rmanybern | R Documentation |
Simulate many independent Bernoulli random variables
rmanybern(probarr)
probarr |
An array of probability of success. Each element of the array represents the probability of success of a Bernoulli random variable that is independent of all other random variables. |
An array the same dimensions of probarr with simulated values of TRUE (success) or FALSE (failure).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.