powered by
Convert DOY and time into a single numerical variable
datetime(dates, Time)
Vector with dates in the DOY format.
Vector with time
Return a vector containing DOY and time as a single numerical variable
time vector should be numerical (e.g. as outputed by the time.to.cont function)
# NOT RUN { dates = c(102,102,102,102,103,103,103,103) Time = c(22, 22.5, 23, 23.5, 0, 0.5, 1, 1.5) datetime(dates=dates, Time=Time) # }
Run the code above in your browser using DataLab