Skip to content
Prev 131067 / 398502 Next

creating conditional means

Following Gabor's suggestion, if x is your data.frame
you can do 

y <- x[x$month %in% c(3,4,5),]
aggregate(y[,4:6],list(y$hour),mean)
--- Sherri Heck <sheck at ucar.edu> wrote: