thank you! sigalit. ---------- Forwarded message ---------- From: sigalit mangut-leiba <[EMAIL PROTECTED]> Date: Jul 19, 2007 7:03 PM Subject: tapply To: r-help <r-help@stat.math.ethz.ch>
I'm sorry for the unfocused questions, i'm new here... the output should be: class aps_mean 1 na 2 11.5 3 8 the mean aps of every class, when every id count *once*, for example: class 2, mean= (11+12)/2=11.5 hope it's clearer. sigalit. [[alternative HTML version deleted]] ______________________________________________ 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 and provide commented, minimal, self-contained, reproducible code.