Probability mass function of X^n
iid(X, n = 2, sep = ",", fractions = attr(X, "fractions"))
separator between items from marginal distributions, by default set to ","
If TRUE, return the probabilities as fractions
Heike Hofmann firstname.lastname@example.org
d <- RV(c("A","B","C"), odds = c(3,5,11))
d2 <- iid(d)
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.