bin_mode: bin_mode

Description Usage Arguments Value Examples

View source: R/binomial.R

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/Workout-03 documentation built on May 3, 2019, 1:32 p.m.