binom: Binomial distribution as table.

View source: R/binom.R

binomR Documentation

Binomial distribution as table.

Description

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

Usage

binom(times, prob_success)

Arguments

times

number of trials

prob_success

probability of success (number between 0 and 1)

Value

Binomial distribution as a tibble

Examples

binom(times = 10, prob_success = 1/10)

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