mybin: My binary distribution generator

Description Usage Arguments Value Examples

View source: R/mybin.R

Description

My binary distribution generator

Usage

1
mybin(iter = 100, n = 10, p = 0.7)

Arguments

iter

a number of simulations to run

n

a number of decisions to make in each iterations

p

a number probability that each decision is a success

Value

a table with the probability for each number of success in 0:n

Examples

1
probTable<-mybin(iter=10000,n=10,p=0.7)

Nat-Geo/math4753 documentation built on April 16, 2020, 12:35 a.m.