Simulation-Based Random Variable Objects

Implements a simulation-based random variable class and a suite of methods for extracting parts of random vectors, calculating extremes of random vectors, and generating random vectors under a variety of distributions following Kerman and Gelman (2007) .

CRANstatus Project Status: Active - The project has reached a stable, usablestate and is being activelydeveloped. rv Downloads Travis buildstatus

The rv package provides tools for working with simulation-based random variables.



Stable version from CRAN


or development version from GitHub

install.packages('devtools')  # package devtools needed


See website


Version 2.3.3

  • Added a file to track changes to the package.
  • Documentation converted to roxygen
  • Vignette converted to Rmd

Version 2.3.2

  • NAMESPACE added import statements.
  • Code removed references with ::: notation.
  • median.rv added missing ... argument.

Version 2.3.0

  • Extract.Rd updated, offending 'synopsis' sections removed

Version 2.2.0

* rvmeanunif.Rd description fixed (added 'then scaled and shifted')

Version 2.0.1

  • changed to default

Version 2.0.0

  • uploaded to CRAN

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


2.3.4 by Joseph Stachelek, a year ago

Report a bug at

Browse source code at

Authors: Jouni Kerman [aut] , Joseph Stachelek [ctb, cre]

Documentation:   PDF Manual  

GPL-2 license

Depends on stats, utils, grDevices, graphics

Suggests knitr, rmarkdown, testthat

See at CRAN