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. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.