Hello, I would like to uniformly distribute values from 0 to 200. Can someone help me find the appropriate uniform distribution generator? I would like to thank you in advance for your help. Best Regards Alex [[alternative HTML version deleted]]
Hi Alex, help.search("uniform") HTH, Stephan Am 08.09.2010 15:36, schrieb Alaios:> Hello, > I would like to uniformly distribute values from 0 to 200. Can someone help me > find the appropriate uniform distribution generator? > > I would like to thank you in advance for your help. > > > Best Regards > Alex > > > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org 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. >
?runif -- View this message in context: http://r.789695.n4.nabble.com/Uniform-Distribution-tp2531282p2531292.html Sent from the R help mailing list archive at Nabble.com.
On Wed, 2010-09-08 at 06:36 -0700, Alaios wrote:> Hello, > I would like to uniformly distribute values from 0 to 200. Can someone help me > find the appropriate uniform distribution generator? > > I would like to thank you in advance for your help. > > > Best Regards > Alex?runif runif(10, min = 0, max = 200) will give you 10 numbers uniformally distributed on the interval 0, 200. HTH G -- %~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~% Dr. Gavin Simpson [t] +44 (0)20 7679 0522 ECRC, UCL Geography, [f] +44 (0)20 7679 0565 Pearson Building, [e] gavin.simpsonATNOSPAMucl.ac.uk Gower Street, London [w] http://www.ucl.ac.uk/~ucfagls/ UK. WC1E 6BT. [w] http://www.freshwaters.org.uk %~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%