bin_mean: Bin Mean

Description Usage Arguments Value Examples

Description

A function to return the mean of a binomial distribution with given trials and probability

Usage

1
bin_mean(trials, prob)

Arguments

trials

an integer, the number of trials

prob

an integer of the probability of success for one trial

Value

an integer, the mean of successes in the given amount of trials

Examples

1
bin_mean(10,0.5)

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