Help with "by"
Searched for "by" in forums and no hits, should be simple problem. This is my line:
bio.mean<-by(Data,Plot, function(x) mean(AbvBioAnnProd))
I want to calculate the mean of "AbvBioAnnProd" in each Plot. What am I doing wrong? Thanks in advance, -AL
View this message in context: http://www.nabble.com/Help-with-%22by%22-tp22887127p22887127.html Sent from the R help mailing list archive at Nabble.com.