[R] Res: time series plot

From: Milton Cezar Ribeiro <milton_ruser_at_yahoo.com.br>
Date: Thu, 7 Feb 2008 07:38:34 -0800 (PST)


Olá Ana

May be it help you

abline(v=as.Date("2008/3/1"),lty=3,col=3)

Kind regards

Miltinho

Dear all.

I want to add a vertical line in my time series series plot. If i had an anual data I do:
plot(data,v="2008"), but if I want to add a vertical line in fisrt quarter of 2008, how can i do?

Thanks a lot

Ana

--


______________________________________________
R-help_at_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. armazenamento! [[alternative HTML version deleted]]


______________________________________________
R-help_at_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.

Received on Thu 07 Feb 2008 - 15:41:29 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 07 Feb 2008 - 16:30:12 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive