Entering edit mode

jay kumar
▴
10

@jay-kumar-5598
Last seen 8.8 years ago

Dear Members
I am trying to create a venn diagram with four sets using VennDiagram
1.5.1
package. When I try to plot,it gives me the following error message
Error in draw.quad.venn(area1 = 263, area2 = 311, area3 = 319, area4
=
293, :
Impossible: partial areas negative.
I call the function as mentioned below
> venn.plot <- draw.quad.venn( area1 = 263, area2 = 311, area3 = 319,
area4
= 293, n12 = 230, n13 = 216, n14 = 217, n23 = 226, n24 = 214, n34 =
228,
n123 = 227, n124 = 213, n134 = 214, n234 = 250, n1234 = 212, category
=
c("First", "Second", "Third", "Fourth"),fill = c("orange", "red",
"green",
"blue"), lty = "dashed", cex = 2, cat.cex = 2, cat.col = c("orange",
"red",
"green", "blue"));
Error in draw.quad.venn(area1 = 263, area2 = 311, area3 = 319, area4 =
293,
:
Impossible: partial areas negative
> sessionInfo()
R version 2.15.2 (2012-10-26)
Platform: x86_64-w64-mingw32/x64 (64-bit)
attached base packages:
[1] grid stats graphics grDevices utils datasets
methods
base
other attached packages:
[1] VennDiagram_1.5.1
I would really appreciate if some one could guide me in sorting this
,as I
have no clue about my mistake.
Looking forward for your reply
Jay Belli
PhD student
Scuola superiore sant Anna Pisa
Italy
[[alternative HTML version deleted]]