plotBIN: Plot Binomial Discrete Probability Distribution

Description Usage Arguments Examples

Description

X represent the number of successes in a sequence of 'n' Bernoulli trials.

Usage

1
plotBIN(n, p, hlt = FALSE, i = 2, f = 4)

Arguments

n

number of trials (zero or more).

p

probability of success on each trial.

hlt

logical (default is FALSE); if TRUE, probabilities P[i ≤ X ≤ f] are highlighted in green color in plot

i, f

highlight probability from i' initial value of distribution to 'f' final value of distribution

Examples

1
plotBIN(n = 50, p = 0.15, hlt = TRUE, i = 2, f = 4)

Zibetti/Plothtests documentation built on Feb. 5, 2021, 8:32 p.m.