Title
fair_coin.Rd
Title
Usage
fair_coin(outcome_set = c("tails", "heads"))
Examples
fair_coin()
#> outcome prob
#> 1 tails 0.5
#> 2 heads 0.5
fair_coin(outcome_set = 0:1)
#> outcome prob
#> 1 0 0.5
#> 2 1 0.5
fair_coin(outcome_set = c(FALSE, TRUE))
#> outcome prob
#> 1 FALSE 0.5
#> 2 TRUE 0.5
fair_coin(outcome_set = c("fish", "no fish"))
#> outcome prob
#> 1 fish 0.5
#> 2 no fish 0.5