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

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to