[R] plotting a set of discrete distributions

Michael Friendly friendly at yorku.ca
Thu Oct 8 17:36:24 CEST 2009

Gabor Grothendieck wrote:
> Try this (possibly after scaling the rows or columns to 1):
> library(gplots)
> with(as.data.frame.table(as.matrix(jevons[-1])), balloonplot(Var1, Var2, Freq))
Thanks, Gabor --
That's not bad as a first cut;  I can work with that.

Michael Friendly     Email: friendly AT yorku DOT ca 
Professor, Psychology Dept.
York University      Voice: 416 736-5115 x66249 Fax: 416 736-5814
4700 Keele Street    http://www.math.yorku.ca/SCS/friendly.html
Toronto, ONT  M3J 1P3 CANADA

More information about the R-help mailing list