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?
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:
You must be logged in to reply to this topic.