[R] Count or summary data

2005-12-30 Thread Xiyan Lon
Dear all, I want to summary and count my data something like te.Ce [,1] [,2] [1,] -1 0.05 [2,]1 0.05 [3,]1 0.00 [4,]0 0.05 [5,] -1 0.00 [6,]0 0.10 [7,]1 0.10 [8,] -1 0.00 [9,] -1 0.10 [10,]0 0.05 [11,]0 0.10 [12,] -1 0.10 [13,]1 0.00 [14,]

Re: [R] Count or summary data

2005-12-30 Thread bogdan romocea
Of Xiyan Lon Sent: Friday, December 30, 2005 9:48 AM To: r-help@stat.math.ethz.ch Subject: [R] Count or summary data Dear all, I want to summary and count my data something like te.Ce [,1] [,2] [1,] -1 0.05 [2,]1 0.05 [3,]1 0.00 [4,]0 0.05 [5,] -1 0.00 [6

Re: [R] Count or summary data

2005-12-30 Thread Gabor Grothendieck
Assuming te.Ce is a data frame: table(te.Ce) On 12/30/05, Xiyan Lon [EMAIL PROTECTED] wrote: Dear all, I want to summary and count my data something like te.Ce [,1] [,2] [1,] -1 0.05 [2,]1 0.05 [3,]1 0.00 [4,]0 0.05 [5,] -1 0.00 [6,]0 0.10 [7,]1 0.10

Re: [R] Count or summary data

2005-12-30 Thread jim holtman
Here is one way and how to access the data: x [,1] [,2] [1,] -1 0.05 [2,]1 0.05 [3,]1 0.00 [4,]0 0.05 [5,] -1 0.00 [6,]0 0.10 [7,]1 0.10 [8,] -1 0.00 [9,] -1 0.10 [10,]0 0.05 [11,]0 0.10 [12,] -1 0.10 [13,]1 0.00 [14,] -1 0.05 [15,]

Re: [R] Count or summary data

2005-12-30 Thread Marc Schwartz
On Fri, 2005-12-30 at 15:47 +0100, Xiyan Lon wrote: Dear all, I want to summary and count my data something like te.Ce [,1] [,2] [1,] -1 0.05 [2,]1 0.05 [3,]1 0.00 [4,]0 0.05 [5,] -1 0.00 [6,]0 0.10 [7,]1 0.10 [8,] -1 0.00 [9,] -1 0.10