bin_mode: bin_mode

Description Usage Arguments Value Examples

Description

check if the input is valid and compute the mode of the input using aux_mode

Usage

1
bin_mode(trials, prob)

Arguments

trials

number of trials

prob

probability of success

Value

the mode of the input

Examples

1
bin_mode(10, 0.3)

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