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.hodg...@gmail.com > > [[alternative HTML version deleted]] -- David Winsemius Alameda, CA, USA ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.