[R] Multiple Line Plots in the same graph

Berend Hasselman bhh at xs4all.nl
Sat May 4 11:44:05 CEST 2013


On 04-05-2013, at 11:24, Preetam Pal <lordpreetam at gmail.com> wrote:

> Hi all,
> 
> (Kindly ignore the previous mail.)
> 
> I have 2 time series variables : X_t and Y_t  where  t=0,1,2,.......,100
> I want a plot containing the line charts( time plotted on the x-axis) for
> both these variables.
> How can I do this or where do I look for the information on this?
> 
Start with

?plot

Then do as the help advises

methods(plot)

and finally do

?plot.ts

For heaven's sake start using R's help. And do some experimenting.

Berend



More information about the R-help mailing list