Re: [R] generic argument passing to plot function

2011-09-29 Thread Jean V Adams
statquant2 wrote on 09/28/2011 10:01:30 AM: > > Hello I am trying to write a function that would plot timeseries easily... > I aim at plotting two time-series on 2 different y axis sharing the same > x-axis > > I succeded in doing so: > plotTimeSerie(x,y,y2,[a lot of other args]){ > ... > plot(

[R] generic argument passing to plot function

2011-09-28 Thread statquant2
Hello I am trying to write a function that would plot timeseries easily... I aim at plotting two time-series on 2 different y axis sharing the same x-axis I succeded in doing so: plotTimeSerie(x,y,y2,[a lot of other args]){ ... plot() axis.POSIXct(side=1) #here I build the x-axis points() #here