as.rv: Coerce an object to an rv.

Description Usage Arguments Examples

View source: R/rv.r

Description

Currently has methods for rv objects (which leaves unchanged), and for integer, numeric and logical vectors (which assume are uniformly distributed).

Usage

1
as.rv(x)

Arguments

x

An object to coerce

Examples

1
2
as.rv(1:10)
as.rv(rv(c(1, 1, 2, 3)))

hadley/rv2 documentation built on May 17, 2019, 12:16 p.m.