Depending on the time series object you are using, the lag() function will do 
it. Read the documentation ?lag for details on your specific ts class. 

Michael Weylandt

On Aug 21, 2011, at 3:04 PM, Andrey A <ava...@gmail.com> wrote:

> I have a plot and my x axis is Time in days, I need to shift it by +15 days,
> how do i do it?
> Thanks.
> 
>    [[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to