Random Number Generator

2 posts / 0 new
Last post
aywu27
Offline
Joined: 10/23/2011
Random Number Generator

Hi,

I was wondering if there is a list of random number generator functions in R? For example, I came across the one for uniform distribution and for the koch snowflakes. Are there others such as a star, etc?

bryan
Offline
Joined: 01/15/2009

I haven't seen a comprehensive list, and I would be surprised if one exists given that there are always new packages being released. But here are the functions for generating random numbers from the most common distributions:


rbeta, rbinom, rcauchy, rchisq, rexp, rf, rgamma, rgeom, rhyper,
rlogis, rlnorm, rmultinom, rnbinom, rnorm, rpois, rsignrank, rt,
runif, rweibull, rwilcox, ptukey, qtukey



Astrostats at PSU has a good description of how to use them if you need it:

http://astrostatistics.psu.edu/datasets/R/Random.html

Login or register to post comments