bin_cumulative: bin_cumulative

Description Usage Arguments Value Examples

View source: R/functions.R

Description

function which computes culmulative probablity for binomial distributions for given inputs trials and prob

Usage

1
bin_cumulative(trials = 1, prob = 0.5)

Arguments

trials

a non-negative integer which provides the number of trials

prob

a number between 0 and 1 which gives the probablity of a success on an individual draw

Value

an object of bincum class, cumulative probability of binomial distribution

Examples

1
2
3
4
5
#default
bin_cumulative(1, 0.5)

#example 2
bin_cumulative(10, 0.8)

Thomas-Sperandeo/workout3 documentation built on May 5, 2019, 12:26 a.m.