[R] Query about getting averages across a certain parameter in a table

From: lalitha viswanath <lalithaviswanath_at_yahoo.com>
Date: Wed 12 Jul 2006 - 03:41:08 EST

I have a table that goes

cluster_ac clockrate age class

7337         0.9       0.001  alpha_proteins
7888         0.1       0.78   beta proteins


The class column can have 7-8 different unique values While the clockrate and age columns are floats varying from 0 to 1.

I wish to get the average clockrate across each of the classes for this data.

I would appreciate your help regarding the aboe.


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 Jul 12 04:07: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 12 Jul 2006 - 10:17:06 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.