powered by
iid(X, n = 2, sep = ",", fractions = attr(X, "fractions"))
d <- RV(c("A","B","C"), odds = c(3,5,11)) d2 <- iid(d) probs(d2)
Run the code above in your browser using DataLab