binom_dice {tidydice}R 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)

[Package tidydice version 1.0.0 Index]