bin_cumulative: bin cumulative function

Description Usage Arguments Value Examples

Description

returns data frame with e probability distribution and the cumulative probabilities

Usage

1
bin_cumulative(trials, prob)

Arguments

trials

number of trials

prob

probability

Value

data frame with sucesses in the first column, probability in the second column, and cumulative in the third column

Examples

1
bin_cumulative(trials = 5, prob = 0.5)

shefalisastry/workout03 documentation built on May 5, 2019, 12:28 a.m.