Dear R helpers, I have a data set with 4 types (W, C, E & S). Now I have values for all types plus all possible combinations (the order is unimportant): W, C, WC, E, WE, CE, WCE, S, WS, CS, WCS, ES, WES, CES & WCES. Ideally I would like to represent everything in one graph and as concise as possible. Drawing 4 circles and depicting it as overlap just gives me 13 out of the 15 possibilities needed (as e.g. depicted here http://www.psy.ritsumei.ac.jp/~akitaoka/classic9e.html in the graph "Four circles surrounding illusion"). Does anybody has a nice solution, ideally with a possible solution in R? Thanks in advance! Johannes -- Project Coordinator BIOTA West Amphibians Museum of Natural History Dep. of Research (Herpetology) Invalidenstrasse 43 D-10115 Berlin Tel: +49 (0)30 2093 8708 Fax: +49 (0)30 2093 8565 http://www.biota-africa.org http://community-ecology.biozentrum.uni-wuerzburg.de
http://en.wikipedia.org/wiki/Venn_Diagram#Extensions_to_higher_numbers_of_sets shows a couple of solutions, not in R, but the ideas could be implemented in R. Hope this helps, -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare greg.snow at imail.org 801.408.8111> -----Original Message----- > From: r-help-bounces at r-project.org [mailto:r-help-bounces at r- > project.org] On Behalf Of Penner, Johannes > Sent: Monday, April 20, 2009 1:04 PM > To: r-help at r-project.org > Subject: [R] graph with 15 combinations > > Dear R helpers, > > I have a data set with 4 types (W, C, E & S). Now I have values for all > types plus all possible combinations (the order is unimportant): W, C, > WC, E, WE, CE, WCE, S, WS, CS, WCS, ES, WES, CES & WCES. Ideally I > would > like to represent everything in one graph and as concise as possible. > Drawing 4 circles and depicting it as overlap just gives me 13 out of > the 15 possibilities needed (as e.g. depicted here > http://www.psy.ritsumei.ac.jp/~akitaoka/classic9e.html in the graph > "Four circles surrounding illusion"). > > Does anybody has a nice solution, ideally with a possible solution in > R? > > Thanks in advance! > Johannes > > -- > Project Coordinator BIOTA West Amphibians > > Museum of Natural History > Dep. of Research (Herpetology) > Invalidenstrasse 43 > D-10115 Berlin > Tel: +49 (0)30 2093 8708 > Fax: +49 (0)30 2093 8565 > > http://www.biota-africa.org > http://community-ecology.biozentrum.uni-wuerzburg.de > > ______________________________________________ > R-help at r-project.org 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.
Thanks a lot! That is exactly what I was looking for! Best wishes Johannes -- Project Coordinator BIOTA West Amphibians Museum of Natural History Dep. of Research (Herpetology) Invalidenstrasse 43 D-10115 Berlin Tel: +49 (0)30 2093 8708 Fax: +49 (0)30 2093 8565 http://www.biota-africa.org http://community-ecology.biozentrum.uni-wuerzburg.de -----Urspr?ngliche Nachricht----- Von: Greg Snow [mailto:Greg.Snow at imail.org] Gesendet: Montag, 20. April 2009 21:30 An: Penner, Johannes; r-help at r-project.org Betreff: RE: graph with 15 combinations http://en.wikipedia.org/wiki/Venn_Diagram#Extensions_to_higher_numbers_of_sets shows a couple of solutions, not in R, but the ideas could be implemented in R. Hope this helps, -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare greg.snow at imail.org 801.408.8111> -----Original Message----- > From: r-help-bounces at r-project.org [mailto:r-help-bounces at r- > project.org] On Behalf Of Penner, Johannes > Sent: Monday, April 20, 2009 1:04 PM > To: r-help at r-project.org > Subject: [R] graph with 15 combinations > > Dear R helpers, > > I have a data set with 4 types (W, C, E & S). Now I have values for all > types plus all possible combinations (the order is unimportant): W, C, > WC, E, WE, CE, WCE, S, WS, CS, WCS, ES, WES, CES & WCES. Ideally I > would > like to represent everything in one graph and as concise as possible. > Drawing 4 circles and depicting it as overlap just gives me 13 out of > the 15 possibilities needed (as e.g. depicted here > http://www.psy.ritsumei.ac.jp/~akitaoka/classic9e.html in the graph > "Four circles surrounding illusion"). > > Does anybody has a nice solution, ideally with a possible solution in > R? > > Thanks in advance! > Johannes > > -- > Project Coordinator BIOTA West Amphibians > > Museum of Natural History > Dep. of Research (Herpetology) > Invalidenstrasse 43 > D-10115 Berlin > Tel: +49 (0)30 2093 8708 > Fax: +49 (0)30 2093 8565 > > http://www.biota-africa.org > http://community-ecology.biozentrum.uni-wuerzburg.de > > ______________________________________________ > R-help at r-project.org 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.
Le lundi 20 avril 2009 ? 21:04 +0200, Penner, Johannes a ?crit :> Dear R helpers, > > I have a data set with 4 types (W, C, E & S). Now I have values for all > types plus all possible combinations (the order is unimportant): W, C, > WC, E, WE, CE, WCE, S, WS, CS, WCS, ES, WES, CES & WCES. Ideally I would > like to represent everything in one graph and as concise as possible. > Drawing 4 circles and depicting it as overlap just gives me 13 out of > the 15 possibilities needed (as e.g. depicted here > http://www.psy.ritsumei.ac.jp/~akitaoka/classic9e.html in the graph > "Four circles surrounding illusion"). > > Does anybody has a nice solution, ideally with a possible solution in R?Plot on a torus. Should be trivial in R once you've found the torus feeder for your printer... :-) Emmanuel Charpentier> Thanks in advance! > Johannes > > -- > Project Coordinator BIOTA West Amphibians > > Museum of Natural History > Dep. of Research (Herpetology) > Invalidenstrasse 43 > D-10115 Berlin > Tel: +49 (0)30 2093 8708 > Fax: +49 (0)30 2093 8565 > > http://www.biota-africa.org > http://community-ecology.biozentrum.uni-wuerzburg.de > > ______________________________________________ > R-help at r-project.org 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. >
Penner, Johannes wrote:> Dear R helpers, > > I have a data set with 4 types (W, C, E & S). Now I have values for all > types plus all possible combinations (the order is unimportant): W, C, > WC, E, WE, CE, WCE, S, WS, CS, WCS, ES, WES, CES & WCES. Ideally I would > like to represent everything in one graph and as concise as possible. > Drawing 4 circles and depicting it as overlap just gives me 13 out of > the 15 possibilities needed (as e.g. depicted here > http://www.psy.ritsumei.ac.jp/~akitaoka/classic9e.html in the graph > "Four circles surrounding illusion"). > > Does anybody has a nice solution, ideally with a possible solution in R? > >Hi Johannes, If you want to display the intersections between your 4 types, you might find that intersectDiagram in the plotrix package will serve your purpose. It departs from the Venn diagram approach to display an array of rectangles, the widths of which are proportional to the number of members of each set and intersection. Jim
Apparently Analagous Threads
- ctc package
- null model for a single species?
- [LLVMdev] how to change a compiler from a host to a target in Clang's assembler and linker
- [LLVMdev] how to change a compiler from a host to a target in Clang's assembler and linker
- survreg with measurement uncertainties