I'm trying to convert daily data into weekly data, but with the time interval from monday to monday.
First I download historical prices from Yahoo:
Tickername<-getSymbols("Tickeername",from="2011-12-31",to="2017-01-03",auto.assign = FALSE)
Then I convert the data into weeklY:
However, I want the weekly data start from monday 9th January 2012 (monday to monday weekly data), how can I change the time interval?
Your help is fully appreciated!