plotBINNEG: Plot Negative Binomial Distribution

Description Usage Arguments Examples

Description

X represent the number of failures in a sequence of Bernoulli trials before a 'r' success occurs.

Usage

1
plotBINNEG(p, r, n.plot = 50, hlt = FALSE, i = 2, f = 4)

Arguments

p
r

target for number of successful trials. Must be strictly positive, need not be integer.

n.plot

number of observations for the plot, by default will be ploted 50 observations

hlt

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

i, f

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

Examples

1
plotBINNEG(p = 0.15, r = 3, n.plot = 50 , hlt = TRUE, i = 2, f = 4)

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