Learn R Programming

HKRbook (version 0.1.3)

men_bin: men_bin

Description

Visualization of the probability mass and the cumulative distribution function of a binomial distribution.

Usage

men_bin(size = 10, prob = 0.5)

Value

nothing

Arguments

size

integer: number of trials (zero or more)

prob

numeric: probability of success on each trial

Examples

Run this code
if (interactive()) men_bin()
if (interactive()) men_bin(20, 0.25)

Run the code above in your browser using DataLab