Hi there,
This seems like it should be simple. I have a data frame of climate data sampled every 10 min. I want to average the entire data frame into 30 min values (i.e., one value for each half hour). Functions like running.mean give me a moving average but I want to reduce the size of the entire frame.. Any ideas how? Cheers! Example of my data timestamp Voltage LwTempDownelling LwDownwelling LwDownwelling_min LwDownwelling_max LwTempUpwelling 1 2011-11-01 00:00:00 2.732447 17.30 30.0 14.0 39.5 17.83 2 2011-11-01 00:10:00 2.731534 17.46 15.3 11.1 24.6 17.95 3 2011-11-01 00:20:00 2.731368 17.43 28.7 24.6 30.7 17.93 4 2011-11-01 00:30:00 2.730703 17.36 40.4 29.8 43.5 17.86 5 2011-11-01 00:40:00 2.729567 17.26 41.6 40.5 42.6 17.76 6 2011-11-01 00:50:00 2.728976 17.16 39.7 -M.B [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.