[R] matrix plot

Jim Lemon jim at bitwrit.com.au
Wed Sep 29 14:49:54 CEST 2010


On 09/29/2010 08:55 PM, hairryharry wrote:
> Hi,
>
> Fairly new to R - have done basic plots but now faced with plotting a
> matrix/table of results -I know what I want but cannot find out how to
> do it.
>
> Basically have individual questions ( x) to which an organization can
> rate themselves 1-10 (y) what I want to show is a matrix/density type
> plot (like the matrix corrolation plots I have seen on R graph site)
> showing for eac question (x) a circle or shape of varying size and/or
> colour to represent the number of organisations rating themselves for
> each value of y.
>
> Hope this makes sense, any advice would be gratefully received.
>
Hi Harry,
The balloonplot function will probably give you the circles you want. If 
you want a matrix of colors, color2D.matplot might help, and if you just 
want a display of counts, try count.overplot.

Jim



More information about the R-help mailing list