Re: [R] plotting a set of discrete distributions

2009-10-08 Thread Jim Lemon
On 10/09/2009 12:24 AM, Michael Friendly wrote: est a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15 13 23 NA NA NA NA NA NA NA NA NA NA NA NA 24 NA 65 NA NA NA NA NA NA NA NA NA NA NA 35 NA NA 102 7 NA NA NA NA NA NA NA NA NA 46 NA NA 4 120 18 NA NA

Re: [R] plotting a set of discrete distributions

2009-10-08 Thread Michael Friendly
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: frien

Re: [R] plotting a set of discrete distributions

2009-10-08 Thread Gabor Grothendieck
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)) On Thu, Oct 8, 2009 at 9:24 AM, Michael Friendly wrote: > I have the following data set, representing the the estimated number of some > ev

[R] plotting a set of discrete distributions

2009-10-08 Thread Michael Friendly
I have the following data set, representing the the estimated number of some event (est), when the actual number was 3, 4, ..., 15. The numbers in the cells are the observed *frequencies* of each combination of (actual, estimated), so each column (a3 -- a15) gives a single discrete frequency di