bin_distribution: Bin Distribution

Description Usage Arguments Value Examples

Description

A function to create a data frame displaying the probability for all possible number of successes given the number of trials and the probability of success.

Usage

1
bin_distribution(trials, prob)

Arguments

trials

an integer, the number of trials

prob

an integer of the probability of success for one trial

Value

a data frame with the probability for all possible number of successes given the number of trials and the probability of success.

Examples

1

Dyang11/binomial documentation built on June 1, 2019, 4:56 a.m.