mybin: Binomial Simulation

View source: R/mybin.R

mybinR Documentation

Binomial Simulation

Description

Shows how to simulate a Binomial

Usage

mybin(iter = 100, n = 10, p = 0.5)

Arguments

iter

Number of iterations

n

Number of Bernoulli trials

p

Probability of a success

Details

More details about the function

Value

Barplot and table of relative frequencies

Examples

mybin() # Use default values

MATHSTATSOU/Intro2R documentation built on Feb. 20, 2025, 6:18 a.m.