gegenV: Geometric Generator Visualization

Description Usage Arguments Details Value Note Author(s) References See Also Examples

View source: R/gegenV.R

Description

Improved version of gegen, Can generate n random numbers.

Usage

1
gegenV(n, p)

Arguments

n,p

n as number of random numbers and p as Bernoulli trial's probability.

Details

-

Value

This fanction returns a vector containing the random numbers.

Note

This function also plots the random numbers in order to visualize this distribution with the given parameter p.

Author(s)

A.Moayedi

References

www.wikipedia.com

See Also

gegenV.R

Examples

1
	gegenV(20000, 0.2)

amoloudi/R-PKG-Distributions documentation built on May 23, 2019, 7:32 a.m.