bin_cumulative: Binomial Cumulative

Description Usage Arguments Value Examples

View source: R/bin_cumulative.R

Description

calculates the probability distribution and the cumulative probabilities

Usage

1
bin_cumulative(trials, prob)

Arguments

trials

number of trials

prob

probability of success

Value

a data frame with both the probability distribution and the cumulative probabilities: 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)

natyuanto/binomial documentation built on May 3, 2019, 1:32 p.m.