bin_cumulative: Bin Cumulative

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, along with the culmulative probability.

Usage

1
bin_cumulative(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, the probability of success, and the cumulutaive probability of success for all successes values before.

Examples

1

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