Answers for "r xts choose quarterly data"

1

get only the days from a timeseries in r

seq.POSIXt(from=as.POSIXlt("01-01-2016 10:00:00",format="%m-%d-%Y %H:%M:%S"),by=60*60*24, length.out = 3, format="%m-%d%-%Y %H:%M:%S", tz = "Etc/GMT+2")
# "2016-01-01 10:00:00 UTC" "2016-01-02 10:00:00 UTC" "2016-01-03 10:00:00 UTC"
Posted by: Guest on November-17-2020

Browse Popular Code Answers by Language