[R] rgeom for p (1-p)^(x-1)

Benjamin Dickgiesser dickgiesser at gmail.com
Wed Mar 14 13:44:33 CET 2007


Hi,

is there a package available which lets me generate random data for
the geometric distribution with density:

 p(x) = p (1-p)^(x-1) ?

rgeom uses the density p(x) = p (1-p)^x.

Thank you,
Benjamin



More information about the R-help mailing list