bigen: Binomial Distribution

Description Usage Examples

Description

A binomial random variable can be seen as the result of repeated Bernoulli Trials. Using "brgen", "bigen" is a function, taking two parameters, one float as the probability parameter and one integer "n" as the number of trials, and generates a random number from 0 to n.

related functions : rbinom

Usage

1
  bigen(p,num)

Examples

1
bigen(0.27,10)

abahram77/familiarDistribiution documentation built on May 11, 2019, 6:26 p.m.