bin_mean: bin_mean

Description Usage Arguments Value Examples

View source: R/binomial.R

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