sumRV_margrow: For a list of random variables, return random variable that...

Description Usage Arguments Examples

View source: R/RVofrandomselectRV.R

Description

For a list of random variables, return random variable that is a random selection one of the RVs

Usage

1

Arguments

rvs

A list of Random Variable (distributions) of class 'RV'

Examples

1
2
3
4
5
library(discreteRV)
X1 <- RV(c(1,0), c(.5,.5))
X2 <- RV(c(1,0), c(.5,.5))
X3 <- RV(c(1,-1), c(.5,.5))
randselRV(list(X1, X2, X3))

sustainablefarms/linking-data documentation built on Oct. 28, 2020, 2:41 a.m.