Thanks, I am using with(DF, tapply(Time, list(Start, End), mean)) which works as wanted. Sugi -- View this message in context: http://r.789695.n4.nabble.com/Create-2d-table-with-mean-of-entries-tp2966610p2967913.html Sent from the R help mailing list archive at Nabble.com.