[R] Type of Graph to use

Jim Lemon jim at bitwrit.com.au
Tue Oct 11 11:05:46 CEST 2011


On 10/10/2011 09:49 PM, Jurgens de Bruin wrote:
> Hi,
>
> Please advice on what type of graph can be used to display the following
> data set.
>
> I have the following:
>
> Name    Class
> a             Class 1
> a             Class4
> b             Class2
> b             Class1
> d             Class3
> d             Class5
> e             Class4
> e             Class2
>
> So each entry in name can belong to more than one class. I want to represent
> the data as to see where overlaps occur that is which names are in the same
> Class Name and also which names are unique to a Class. I tough a Venn
> Diagram would work but this can only present numerical values for each
> Class, I would like each name to be presented by a dot or *.
>
Hi Jurgens,
Have a look at the intersectDiagram function in the plotrix package. 
This only plots the number of cases in each intersection, but it would 
be possible to plot dots or asterisks or even the lower case letters as 
long as there are not too many cases.

Jim



More information about the R-help mailing list