R XTS to.minutes5(), is not converting as “I” expected
问题 Hi i'm converting some 1 min data to 5 min data, and i'm finding it does 4 mins for the first increment, then goes on to do 5 min increments after that. I've tried messing around with all the "indexAt" parameters but none give me what i want, which is starting from 5, then 10, 15, 20 etc. i've tried x5 <- to.minutes5(x) AND x <- to.period(x, period = 'minutes', k = 5, OHLC = TRUE) 1 min data Open High Low Close Volume 2013-01-16 00:01:00 93.55 93.60 93.54 93.58 5 2013-01-16 00:02:00 93.59 93