Random Number Generator

R programming language resources Forums Graphing Random Number Generator

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #357
    aywu27
    Member

    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?

    #379
    bryan
    Participant

    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

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Scroll to top
Privacy Policy