Learn R Programming

⚠️There's a newer version (0.41) of this package.Take me there.

Runuran (version 0.34)

R Interface to the 'UNU.RAN' Random Variate Generators

Description

Interface to the 'UNU.RAN' library for Universal Non-Uniform RANdom variate generators. Thus it allows to build non-uniform random number generators from quite arbitrary distributions. In particular, it provides an algorithm for fast numerical inversion for distribution with given density function. In addition, the package contains densities, distribution functions and quantiles from a couple of distributions.

Copy Link

Version

Install

install.packages('Runuran')

Monthly Downloads

1,250

Version

0.34

License

GPL (>= 2)

Maintainer

Josef Leydold

Last Published

August 11th, 2021

Functions in Runuran (0.34)

Runuran-package

Runuran -- R interface to Universal Non-Uniform RANdom variate generators library
Runuran.options

Set or return options for Runuran library
dari.new

UNU.RAN generator based on Discrete Automatic Rejection Inversion (DARI)
dgt.new

UNU.RAN generator based on table guided discrete inversion (DGT)
Runuran.distributions

UNU.RAN distribution objects
ars.new

UNU.RAN generator based on Adaptive Rejection Sampling (ARS)
pinv.new

UNU.RAN generator based on Polynomial interpolation of INVerse CDF (PINV)
arou.new

UNU.RAN generator based on Automatic Ratio-Of-Uniforms method (AROU)
hitro.new

UNU.RAN generator based on Hit-and-Run sampler (HITRO)
dau.new

UNU.RAN generator based on the Alias method (DAU)
ud

Density function for "unuran" object
udgeom

UNU.RAN object for Geometric distribution
Runuran.special.generators

Generators for distributions based on methods from the UNU.RAN library
itdr.new

UNU.RAN generator based on Inverse Transformed Density Rejection (ITDR)
mixt.new

UNU.RAN generator for finite mixture of distributions
tdr.new

UNU.RAN generator based on Transformed Density Rejection (TDR)
udexp

UNU.RAN object for Exponential distribution
srou.new

UNU.RAN generator based on Simple Ratio-Of-Uniforms Method (SROU)
tabl.new

UNU.RAN generator based on TABLe based Rejection (TABL)
udghyp

UNU.RAN object for Generalized Hyperbolic distribution
udlogis

UNU.RAN object for Logistic distribution
udbeta

UNU.RAN object for Beta distribution
udgig

UNU.RAN object for Generalized Inverse Gaussian distribution
udgumbel

UNU.RAN object for Gumbel distribution
udlnorm

UNU.RAN object for Log Normal distribution
udlomax

UNU.RAN object for Lomax distribution
udf

UNU.RAN object for F distribution
udgamma

UNU.RAN object for Gamma distribution
udfrechet

UNU.RAN object for Frechet distribution
udbinom

UNU.RAN object for Binomial distribution
unuran-class

Class "unuran" -- Universal Non-Uniform RANdom variate generators
udweibull

UNU.RAN object for Weibull distribution
udmeixner

UNU.RAN object for Meixner distribution
udnorm

UNU.RAN object for Normal distribution
udcauchy

UNU.RAN object for Cauchy distribution
unuran.details

Information on a given "unuran" generator object
udig

UNU.RAN object for Inverse Gaussian distribution
udlaplace

UNU.RAN object for Laplace distribution
unuran.discr-class

Class "unuran.discr" for Discrete Distribution
udpareto

UNU.RAN object for Pareto distribution
udt

UNU.RAN object for Student t distribution
urchi

UNU.RAN Chi random variate generator
urextremeII

UNU.RAN Extreme value type II (Frechet-type) random variate generator
urcauchy

UNU.RAN Cauchy random variate generator
udchisq

UNU.RAN object for Chi-Squared distribution
udchi

UNU.RAN object for Chi distribution
unuran.cont.new

Create a UNU.RAN continuous univariate distribution object
unuran.cont-class

Class "unuran.cont" for Continuous Distribution
udhyperbolic

UNU.RAN object for Hyperbolic distribution
udhyper

UNU.RAN object for Hypergeometric distribution
udpois

UNU.RAN object for Poisson distribution
udpowerexp

UNU.RAN object for Powerexponential distribution
udnbinom

UNU.RAN object for Negative Binomial distribution
urf

UNU.RAN F random variate generator
unuran.packed-method

Pack "unuran" object
urlogis

UNU.RAN Logistic random variate generator
udvg

UNU.RAN object for Variance Gamma distribution
unuran.is.inversion

Test whether a "unuran" generator object implements an inversion method
udlogarithmic

UNU.RAN object for Logarithmic distribution
urlomax

UNU.RAN Lomax random variate generator
urgeom

UNU.RAN Geometric random variate generator
unuran.new

Create a UNU.RAN object
udrayleigh

UNU.RAN object for Rayleigh distribution
urgamma

UNU.RAN Gamma random variate generator
udslash

UNU.RAN object for Slash distribution
urlnorm

UNU.RAN Log-Normal random variate generator
unuran.cmv-class

Class "unuran.cmv" for Continuous Multivariate Distribution
urlogarithmic

UNU.RAN Logarithmic random variate generator
unuran.distr-class

Virtual class "unuran.distr"
urburr

UNU.RAN Burr random variate generator
urbinom

UNU.RAN Binomial random variate generator
up

Distribution function for "unuran" object
unuran.discr.new

Create a UNU.RAN discrete univariate distribution object
urgig

UNU.RAN Generalized Inverse Gaussian Distribution variate generator
unuran.cmv.new

Create a UNU.RAN continuous multivariate distribution object
unuran.verify.hat

Verify hat and squeezes in a "unuran" generator object
uq

Quantile function for "unuran" object
urextremeI

UNU.RAN Extreme value type I (Gumbel-type) random variate generator
urchisq

UNU.RAN Chi-Squared random variate generator
urexp

UNU.RAN Exponential random variate generator
urdgt

UNU.RAN discrete random variate generator
urpareto

UNU.RAN Pareto random variate generator
urplanck

UNU.RAN Planck random variate generator
urnbinom

UNU.RAN Negative Binomial random variate generator
use.aux.urng-method

Use auxiliary random number generator for Runuran objects
vnrou.new

UNU.RAN generator based on Multivariate Naive Ratio-Of-Uniforms method (VNROU)
urhyper

UNU.RAN Hypergeometric random variate generator
urlaplace

UNU.RAN Laplace random variate generator
urhyperbolic

UNU.RAN Hyperbolic random variate generator
urpois

UNU.RAN Poisson random variate generator
urpowerexp

UNU.RAN Powerexponential random variate generator
ur

Sample from a distribution specified by a "unuran" object
urweibull

UNU.RAN Weibull random variate generator
urtriang

UNU.RAN Triangular random variate generator
urbeta

UNU.RAN Beta random variate generator
urnorm

UNU.RAN Normal random variate generator
urt

UNU.RAN Student t random variate generator
urrayleigh

UNU.RAN Rayleigh random variate generator