[R] Time series plot shift

2011-08-21 Thread Andrey A
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.


Re: [R] Time series plot shift

2011-08-21 Thread R. Michael Weylandt michael.weyla...@gmail.com
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.