powered by
Plot a Venn diagram (with two groups), to scale, either with circles or with squares.
venn( setA = 50, setB = 50, both = 25, method = c("circle", "square"), labels = c("A", "B"), col = c("blue", "red") )
None.
Total area of set A.
Total area of set B.
Area of intersection of sets A and B.
Indicates whether to plot circles or squares.
Labels for the two sets. (NULL for no labels.)
NULL
Colors of the two sets.
Plots a to-scale Venn diagram with two sets, so that the relative areas of the two sets and their intersection are exact.
venn(setA=86, setB=1622, both=10) venn(setA=86, setB=1622, both=10, method="square")
Run the code above in your browser using DataLab