Skip to content
Prev 350422 / 398503 Next

Mean of dates

On 24 April 2015 at 13:47, Jue Lin-Ye <jl.iccp at gmail.com> wrote:

            
Dear Dr. Zeileis,

 Here is the solution that I finally came up with, I hope you agree with
it. From your suggestion, I saw that the problem was the creation of the
vector. It needed to be numeric. So I calculate the difftime from each date
to a reference date (1990/01/01 00:00:00). The units is "hours". I obtain a
vector of difference numbers. Then I add these numbers, transformed into
seconds, to the reference date. ?


?Thank you so much for your help!

Best regards,

Jue?