Venn {asbio} | R Documentation |
The user specifies the probabilities of two outcomes, and if applicable, their intersection. A Venn diagram is returned. The universe, S, will generally not have unit area, but in many applications will be a good approximation.
Venn(A, B, AandB = 0, labA = "A", labB = "B")
A |
probability of event A |
B |
probability of event B |
AandB |
probability of the intersection of A and B |
labA |
Label assigned to event A in the diagram |
labB |
Label assigned to event B in the diagram |
A Venn diagram is returned.
K. Aho
Bain, L. J., and M. Engelhardt (1992) Introduction to probability and mathematical statistics. Duxbury press. Belmont, CA, USA.
Venn(A=.3,B=.2,AandB=.06)