[R] Package: VennDiagram. Error in draw.pairwise.venn Impossible: cross section area too large
Ted Harding
Ted.Harding at wlandres.net
Mon Jan 28 01:09:35 CET 2013
On 27-Jan-2013 23:50:57 Ben Bolker wrote:
> Fabrice Tourre <fabrice.ciup <at> gmail.com> writes:
>
>> Dear list,
>> When I use VennDiagram package, I got a error as follow:
>>
>> venn.plot <- draw.pairwise.venn(
>> area1 = 3186,
>> area2 = 325,
>> cross.area = 5880);
>>
>> Error in draw.pairwise.venn(area1 = 3186, area2 = 325, cross.area = 588) :
>> Impossible: cross section area too large.
>>
>> Does anyone have suggestion?
>>
>> Thank you.
>
> I don't know the package, but it looks like you're trying to
> draw two bubbles with areas of 3186 and 325. cross.area sounds like
> the area of the intersection. You can't have an area of intersection
> that's bigger than one of the categories ...
According to the PDF manual for VennDiagram:
Arguments
area1 The size of the first set
area2 The size of the second set
cross.area The size of the intersection between the sets
so Ben has hit the nail on the head! (Maybe "area2 = 325" was a typo?).
Best wishes to all,
Ted.
-------------------------------------------------
E-Mail: (Ted Harding) <Ted.Harding at wlandres.net>
Date: 28-Jan-2013 Time: 00:09:32
This message was sent by XFMail
More information about the R-help
mailing list