Skip to content
Prev 72871 / 398500 Next

Lines for plot (Sweave)

Fabulous, it works great. I didn't know about approx().

Thank you 

-----Original Message-----
From: Gabor Grothendieck [mailto:ggrothendieck at gmail.com] 
Sent: Friday, July 01, 2005 1:54 PM
To: Doran, Harold
Cc: r-help at stat.math.ethz.ch
Subject: Re: [R] Lines for plot (Sweave)
On 7/1/05, Doran, Harold <HDoran at air.org> wrote:
Replace the first lines statement with:

lines(approx(x, stu.vector), lty=1, col='blue')