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. The area of the intersection will also be an approximation.
Venn(A, B, AandB = 0, labA = "A", labB = "B", cex.text = .95, ...) Venn.tck()
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 |
cex.text |
Character expansion for text. |
... |
Additional arguments from |
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)