coinflip | R Documentation |
Randomly return TRUE or FALSE
coinflip(n = 1)
n |
(Integer) The number of times to 'flip the coin' |
Returns TRUE
or FALSE
randomly.
Desi Quintans (http://www.desiquintans.com)
coinflip()
#> [1] FALSE
coinflip(5)
#> [1] TRUE TRUE FALSE TRUE FALSE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.