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.
Hi,
I have the following problem:
I have a list of entries with vehicles going from some places to others and
the time that they need.
e.g.
Vehicle Start End Time
1A B5
2A C4
3A C3
4B A6
5B
;R2;0.0
.
Is there any existing solution out there or could somebody please give me a
hint on how to solve the problem?
Many thanks in advance,
I. Sugimoto
--
View this message in context:
http://n4.nabble.com/Print-data-frame-as-list-including-row-column-name-tp1009409p1009409.html
Sent from
3 matches
Mail list logo