binom_coin {tidydice} | R Documentation |
Binomial distribution of flipping a coin.
Description
Generates a tibble containing the binomial distribution of flipping a coin using dbinom().
Usage
binom_coin(times, sides = 2, success = 2)
Arguments
times |
how many times a coin is flipped (or how many coins are flipped at the same time) |
sides |
number of sides of the coin (default = 2) |
success |
which result is a success (default = 2) |
Value
binomial distribution as a tibble
Examples
binom_coin(times = 10)
[Package tidydice version 1.0.0 Index]