[R] question about the geometric distribution, please
David Winsemius
dwinsemius at comcast.net
Mon Mar 9 22:26:31 CET 2015
On Mar 9, 2015, at 1:52 PM, Erin Hodgess wrote:
> Hello!
>
> The function rgeom is based on the geometric distribution such that x = 0,
> 1, ....
>
> Is there a function which produces the geometric results such that x = 1,
> 2, ...
> please?
>
> Thought I'd check before I started coding.
This seemed unclear or trivial. Cannot decide which from the description. The arguments to rgeom are "n" and "prob". If you want a geometric-like result with a "shifted" range, then just add one to the rgeom result.
>
> Thank you!
>
> Sincerely,
> Erin
>
>
> --
> Erin Hodgess
> Associate Professor
> Department of Mathematical and Statistics
> University of Houston - Downtown
> mailto: erinm.hodgess at gmail.com
>
> [[alternative HTML version deleted]]
--
David Winsemius
Alameda, CA, USA
More information about the R-help
mailing list