Re: [R] drawing a line that shifts from solid to broken

2010-01-31 Thread Jim Lemon
On 01/31/2010 02:33 AM, Jamie Smith wrote: I am graphing longitudinal data from three time points. I'd like to draw a solid line from point 1 to point 2, and then a dashed line from point 2 to point 3. It works if I do it in two steps: first.vector- c(mean(year1$variable1),

[R] drawing a line that shifts from solid to broken

2010-01-30 Thread Jamie Smith
I am graphing longitudinal data from three time points. I'd like to draw a solid line from point 1 to point 2, and then a dashed line from point 2 to point 3. It works if I do it in two steps: first.vector - c(mean(year1$variable1), mean(year2$variable1)) second.vector - c(NA,

Re: [R] drawing a line that shifts from solid to broken

2010-01-30 Thread David Winsemius
On Jan 30, 2010, at 10:33 AM, Jamie Smith wrote: I am graphing longitudinal data from three time points. I'd like to draw a solid line from point 1 to point 2, and then a dashed line from point 2 to point 3. It works if I do it in two steps: first.vector - c(mean(year1$variable1),