Venn {asbio}R Documentation

Venn probability diagrams for an event with two outcomes

Description

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.

Usage

Venn(A, B, AandB = 0, labA = "A", labB = "B", cex.text = .95, ...)

Venn.tck()

Arguments

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 plot

Value

A Venn diagram is returned.

Author(s)

K. Aho

References

Bain, L. J., and M. Engelhardt (1992) Introduction to Probability and Mathematical Statistics. Duxbury press. Belmont, CA, USA.

Examples

Venn(A=.3,B=.2,AandB=.06)

[Package asbio version 1.9-7 Index]