as.RV: Coerce into RV

Description Usage Arguments Examples

Description

Coerces something that is a vector with names into a RV

Usage

1
  as.RV(X)

Arguments

X

The object to coerce into a RV

Examples

1
2
3
obj <- 1:6
names(obj) <- rep(1/6, 6)
as.RV(obj)

Dasonk/drvc documentation built on May 6, 2019, 1:37 p.m.