[R] Query about getting a table of binned values

lalitha viswanath lalithaviswanath at yahoo.com
Tue Jun 20 22:57:07 CEST 2006


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



More information about the R-help mailing list