Re: [R] read in summarised data as table()

2011-04-12 Thread Uwe Ligges
as.table(as.matrix(X)) Uwe Ligges On 11.04.2011 22:54, dirknbr wrote: Ok it looks like this x yz a 12 12 34 b 34 34 35 c 56 78 0 where the numbers are counts of cases I can read it in, but how do I tell R it's a table? Dirk -- View this message in context: http://r.789695.n4.na

Re: [R] read in summarised data as table()

2011-04-11 Thread dirknbr
Ok it looks like this x yz a 12 12 34 b 34 34 35 c 56 78 0 where the numbers are counts of cases I can read it in, but how do I tell R it's a table? Dirk -- View this message in context: http://r.789695.n4.nabble.com/read-in-summarised-data-as-table-tp3442283p3443102.html Sent from t

Re: [R] read in summarised data as table()

2011-04-11 Thread jim holtman
I assume that you would use 'read.csv' if you are getting output from Excel. Since we have no idea of what you data looks like, it is hard to tell. At least post an example of your data and then what you are expecting as output from the mosaicplot using the data. On Mon, Apr 11, 2011 at 11:20 AM