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

Installation

Stable version from CRAN

or development version from GitHub

install.packages('devtools')  # package devtools needed
devtools::install_github("jsta/rv")

Examples

See website