[R] Query about getting a table of binned values

From: lalitha viswanath <lalithaviswanath_at_yahoo.com>
Date: Wed 21 Jun 2006 - 06:57:07 EST


Hi
I am working with a dataset of age and class of proteins
#Age
0
0.03333
0.6777777

#Class
Type A
Type B
.
.
.

Type K

I wish to get a table that reads as follows

         0-0.02   0.02-0.04 0.04-0.06 ..... 0.78-0.8
Type A    15       20           5             8
Type B     8        6 ....

.
.
.

Type K 1 0 7

I would appreciate your input regarding the appropriate functions to use for this purpose

regards
Lalitha



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Wed Jun 21 07:01:09 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Wed 21 Jun 2006 - 08:13:45 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.