[R] Random Integers

Charles Annis, P.E. Charles.Annis at StatisticalEngineering.com
Sun Feb 25 15:32:33 CET 2007


rpois(n, lambda)

... will do it.  But you should tell us something about how you want your
numbers to be distributed, since rpois() produces integers having a Poisson

Charles Annis, P.E.

Charles.Annis at StatisticalEngineering.com
phone: 561-352-9699
eFax:  614-455-3265

-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Anup Nandialath
Sent: Sunday, February 25, 2007 1:51 AM
To: r-help at stat.math.ethz.ch
Subject: [R] Random Integers

Hi all,

Is there an R function to generate random integers?  Thanks in advance.



Now that's room service! Choose from over 150,000 hotels 

	[[alternative HTML version deleted]]

R-help at stat.math.ethz.ch mailing list
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

More information about the R-help mailing list