Description Usage Arguments Value
Calculates the probability of a union of independent events using the Law of Total probability and the inclusion-exclusion principle.
1 | unionIndependent(probs, combinations = NULL)
|
probs |
A vector of probabilities |
combinations |
A list of matrices containing the the possible of probabilities. This values in the matrix cells should be the indeces of the probabilities in the vector 'probs'. Default is Null—so the combinations will be arranged by the function. To create this combination list, you can use the 'prepCombinations' convenience function provided in the 'lamap' package. |
Probability of the union.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.