binom_coin: Binomial distribution of flipping a coin.

View source: R/binom.R

binom_coinR 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)

tidydice documentation built on Feb. 16, 2023, 7:50 p.m.