Re: [R] Missing Data Line Type?

2005-05-24 Thread Gabor Grothendieck
On 5/24/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > I have a general question. Is there a setting that can be used for a > multiple line type? The situation is that I want a solid line between x > and y points but if the y point is missing, I want a dashed line type to > the ne

RE: [R] Missing Data Line Type?

2005-05-24 Thread OlsenN
The dashed line can be added to the plot with a call to "lines" after removing the NAs from your x/y vectors (I'm assuming 'missing' means NA). > plot(x,y,type='l') > lines(x[!is.na(y)],y[!is.na(y)],lty=2) Vertical lines can be accomplished with "segments". norm -Original Message- From: