Learn R Programming

ISCAM (version 1.0.0)

iscambinomnorm: Overlays Normal Approximation onto Binomial

Description

binomnorm creates a binomial distribution of the given inputs and overlays a normal approximation.

Usage

iscambinomnorm(k, n, prob, direction, verbose = TRUE)

Value

A plot of the binomial distribution overlayed with the normal approximation

Arguments

k

number of successes of interest

n

number of trials

prob

success probability

direction

"above", "below", or "two.sided"

verbose

Logical, defaults to TRUE. Set to FALSE to suppress messages

Examples

Run this code
iscambinomnorm(k = 10, n = 20, prob = 0.5, direction = "two.sided")

Run the code above in your browser using DataLab