[R] by function ??

L.A. romsa at millect.com
Wed Dec 9 02:36:14 CET 2009


I'm just learning and this is probably very simple, but I'm stuck.
   I'm trying to understand the by().
This works.
by(TestData, LEAID, summary)

But, This doesn't.

by(TestData, LEAID, median(RATIO))


ERROR: could not find function "FUN"

HELP!
Thanks,
LA
-- 
View this message in context: http://n4.nabble.com/by-function-tp955789p955789.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list