[R] use of aggregate

Philip philipasinclair at excite.com
Thu Jun 10 19:35:59 CEST 2010


Dear list,

Is it possible to replace the median in the following code so as to calculate 5 and 95% tiles?

with( raunheim, aggregate(no, by = list(wd,hr), FUN = "median", na.rm=TRUE) )

Regards,

Philip Sinclair



More information about the R-help mailing list