bin_variable: Bin Variables

Description Usage Arguments Value Examples

Description

A function to create a binvar object with the given trials and probability

Usage

1
bin_variable(trials, prob)

Arguments

trials

an integer, the number of trials

prob

an integer of the probability of success for one trial

Value

a named list of the "binvar" class with the trials and the probability

Examples

1
bin_variable(10,0.3)

Dyang11/binomial documentation built on June 1, 2019, 4:56 a.m.