bin_mean: bin_mean

Description Usage Arguments Value Examples

Description

check if the input is valid and compute the mean of the input using aux_mean

Usage

1
bin_mean(trials, prob)

Arguments

trials

number of trials

prob

probability of success

Value

the mean of the input

Examples

1
bin_mean(10, 0.3)

ranqi-zhong/workout03 documentation built on May 5, 2019, 12:27 a.m.