[R] proportional area venn diagrams?

Jim Lemon jim at bitwrit.com.au
Sun Nov 13 12:27:34 CET 2011

On 11/12/2011 01:26 AM, Michael Friendly wrote:
> In http://finzi.psych.upenn.edu/R/Rhelp02a/archive/14637.html
> some rudimentary R functions were given for drawing
> proportional area venn diagrams with area of each intersection ~ the
> count in a 2 x 2 x 2 table.
> I'm interested in this, for another application: showing the
> correlations among Y, X1, X2 using
> area ~ r^2 of each pair (sometimes called a Ballantine diagram).
> Before I attempt to hack the code given in that post, are there any
> packages/functions that do venn diagrams
> with proportional areas? Rseek turned up quite a view venn-like
> functions, but I couldn't find any
> that drew them with proportional areas.
Hi Michael,
The intersectDiagram function (plotrix) does not draw a Venn diagram, 
but it does display areas proportional to the number of elements in each 
intersection. It can also do partial diagrams using the new "include" 
argument once the original diagram has been displayed, allowing the user 
to explore the effect of removing sets or attributes from the diagram.


More information about the R-help mailing list