[R] VennDiagram
David L Carlson
dcarlson at tamu.edu
Tue Aug 26 14:57:36 CEST 2014
Assuming your sample data is called dta:
> table(dta$Results, dta$Analysis)
A B C
1-5 1 1 0
20-50 1 0 0
4-7 0 0 1
8-9 0 1 1
David L. Carlson
Department of Anthropology
Texas A&M University
-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf Of Jurgens de Bruin
Sent: Tuesday, August 26, 2014 4:08 AM
To: João Azevedo Patrício
Cc: r-help at r-project.org
Subject: Re: [R] VennDiagram
Hi,,
Thanks for the link, I have tried that but it seems my data is in the wrong format for that to work.
On 26 August 2014 10:35, João Azevedo Patrício <joao.patricio at gmx.pt> wrote:
> Em 26-08-2014 09:30, Jurgens de Bruin escreveu:
>
> Hi,
>>
>> I am new to R and dont use it very often so I would appreciate some help.
>>
>> I would like to create a VennDiagram based on the following, I have
>> analyzed experimental results using different methods and captured
>> the results of each analysis.
>> I would like the VennDiagram to show the overlap in results for the
>> different analysis.
>>
>> Sample data:
>> Analysis Results
>> A 1-5
>> B 8-9
>> C 4-7
>> B 1-5
>> A 20-50
>> C 8-9
>>
>> So in this simple example analysis A and B have a single sample
>> overlap and Analysis B and C also have a single overlap but C and A
>> have no overlap.
>>
>>
>> Hi,
>
> I don't know how to do it, but made a search and found this, see if it
> helps you
>
> http://www.ats.ucla.edu/stat/r/faq/venn.htm
>
> --
> João Azevedo Patrício
> Tel.: +31 91 400 53 63
> Portugal
> @ http://tripaforra.bl.ee
>
> "Take 2 seconds to think before you act"
>
> ______________________________________________
> 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.
>
--
Regards/Groete/Mit freundlichen Grüßen/recuerdos/meilleures salutations/ distinti saluti/siong/duì yú/привет
Jurgens de Bruin
[[alternative HTML version deleted]]
______________________________________________
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.
More information about the R-help
mailing list