In R, I have a Venn diagram encoded as follows:
[[1]]
[[1]][[1]]
[1] FALSE TRUE # B
[[1]][[2]]
[1] 1
[[2]]
[[2]][[1]]
[1] TRUE TRUE # A and B
[[2]][[2]]
[1] 1
[[3]]
[[3]][[1]]
[1] TRUE FALSE # A
[[3]][[2]]
[1] 2
That means there are two sets, say A and B, because the first element of each list is a vector of two Boolean values. The Venn diagram has three zones, because there are three lists. The second element of each list gives then number of elements included in the corresponding zone.
How can I plot this Venn diagram?