search for: funstofun

Displaying 1 result from an estimated 1 matches for "funstofun".

2008 May 16
3
aggregate(), with multiple functions in FUN?
...o is to calculate several statistics (median, mean, etc.) for each group of records, so that I'll get a result organized like: Zip median(DATA) mean(DATA) 94706 565 555 94111 59585 66666 93105 595685 5555666 ... I tried using FUN=funstofun(median,mean), but found that doesn't work in aggregate. Is there a straightforward way to do what I'm after (I'm pretty new to R)? thanks _________________________________________________________________ Change the world with e-mail. Join the i?m Initiative from Microsoft. ld