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.
Jim
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.