Olá Ana

May be it help you

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

Kind regards

Miltinho

----- Mensagem original ----
De: Ana Quitério <aquiterio@mail.pt>
Para: r-help@r-project.org
Enviadas: Quarta-feira, 6 de Fevereiro de 2008 20:41:25
Assunto: [R] time series plot

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@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]]

