binom_dice: Binomial distribution of rolling a dice.

View source: R/binom.R

binom_diceR Documentation

Binomial distribution of rolling a dice.

Description

Generates a tibble containing the binomial distribution of rolling the dice using dbinom().

Usage

binom_dice(times, sides = 6, success = 6)

Arguments

times

How many times a dice is rolled (or how many dice are rolled at the same time)

sides

Number of sides of the dice (default = 6)

success

Which result is a success (default = 6)

Value

Binomial distribution as a tibble

Examples

binom_dice(times = 10)

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