Suppose I have 4 sets A,B,C,D each having 40 elements. I don't know the elements of these 4 sets but i know how many elements are common among these sets.
The matrix which shows the number of common elements are :
A B C D
A 40 21 33 38
B 21 40 25 31
C 33 25 40 27
D 38 31 27 40
To understand better:
There are 21 common element between set A and B, 25 between B and C and so on ...
How can i generate 4 way venn diagram in R?