<BODY><P></P>
<P><FONT face=Courier>Ghosh Mini <<A href="mailto:ghosh@science.unitn.it">ghosh@science.unitn.it</A>></FONT></P>
<P><FONT face=Courier>> Is it possible to find the mean of some rows (of some table) and <BR>> to put it in new table.</FONT></P>
<P><FONT face=Courier>Maybe you want something like this:</FONT></P>
<P><FONT face=Courier>apply(mydata[, c("x", "y", "z")], 2, function(x){tapply(x, list(mydata$date), mean, na.rm=TRUE)})</FONT></P>
<P><FONT face=Courier>hope this helps,</FONT></P>
<P><FONT face=Courier>Chuck Cleland</FONT></P>
<P><FONT face=Courier><BR> </P></FONT></BODY>