M3D_ThreeSet_Venn: Three-way Venn Diagram

Description Usage Arguments Details Value Examples

Description

Plot an area-proportional three-set Venn Diagram with labels.

Usage

1
  M3DropThreeSetVenn(set1, set2, set3, names)

Arguments

set1

a vector of items in the first set.

set2

a vector of items in the second set.

set3

a vector of items in the third set.

names

a vector of names of each set

Details

Approximates area-proportional three-set Venn Diagram with code by David J. States (available at: http://tolstoy.newcastle.edu.au/R/help/03a/1115.html). Then places labels within each circle and overlap-region using code by Tallulah Andrews.

Value

None

Examples

1
2
3
4
  SetA <- c(1:20)
  SetB <- c(15:30)
  SetC <- c(5,10,15,20,25,30,35,40,45,50,55,60)
  M3DropThreeSetVenn(SetA, SetB, SetC, names=c("A","B","C"))

Example output

Loading required package: numDeriv

M3Drop documentation built on Nov. 8, 2020, 5:06 p.m.