[R] Mean of dates

Jue Lin-Ye jl.iccp at gmail.com
Fri Apr 24 12:47:51 CEST 2015


Dear fellow R-help members,

If my data is

YYYY MM DD HH
2015 04 24 01
2015 04 24 02
2015 04 24 06

Where

YYYY: year
MM:month
DD:day
HH: hour

How could I calculate the mean of the ISOdatetime(YYYY,MM,DD,HH,0,0) of
these?

Note: I set minutes and seconds to 0, as I don't have data for them.

​Thank you in advance!​

-- 
Jue Lin-Ye

---------------------------------------------------------------
Civil Engineering phD candidate
Maritime Engineering Laboratory (LIM)
Universitat Politècnica de Catalunya (UPC)
C/Jordi Girona 1-3, Barcelona 08034 (Spain)
-----------------------------------------------------------------

	[[alternative HTML version deleted]]



More information about the R-help mailing list