Learn R Programming

tidydice (version 1.0.0)

binom: Binomial distribution as table.

Description

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

Usage

binom(times, prob_success)

Value

Binomial distribution as a tibble

Arguments

times

number of trials

prob_success

probability of success (number between 0 and 1)

Examples

Run this code
binom(times = 10, prob_success = 1/10)

Run the code above in your browser using DataLab