plotGEO: Plot Geometric Distribution

Description Usage Arguments Examples

Description

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

Usage

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

Arguments

p

probability of success in each trial. 0 < p <= 1.

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
plotGEO(p = 0.15, n.plot = 50 , hlt = FALSE, i = 2, f = 4)

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