Re: [R] use of aggregate

2010-06-10 Thread Erik Iverson
Philip wrote: 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) ) Please give reproducible examples that we can run by cutting and pasting! You should just g

[R] use of aggregate

2010-06-10 Thread Philip
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 __ R-help@r-project.org mailing list ht