[R] Plotting a broken line?

2007-03-07 Thread Aldi Kraja
Hi, Is there a smart way in the R graphs to create a line that is broken in intervals based on the indicator given below. following is a small test graph Location,indicator,otherinfo 1.2,1,2.2 2.5,1,2.5 3.7,1,2.3 20.1,2,4.3 22.5,2,5.2 25.0,2,3.4 27.3,2,2.2 35.1,3,3.4 37.0,3,7.2 38.0,3,6.1

Re: [R] Plotting a broken line?

2007-03-07 Thread Greg Snow
PROTECTED] (801) 408-8111 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aldi Kraja Sent: Wednesday, March 07, 2007 9:21 AM To: r-help@stat.math.ethz.ch Subject: [R] Plotting a broken line? Hi, Is there a smart way in the R graphs to create a line

Re: [R] Plotting a broken line?

2007-03-07 Thread Petr Pikal
:21, Aldi Kraja wrote: Date sent: Wed, 07 Mar 2007 10:21:06 -0600 From: Aldi Kraja [EMAIL PROTECTED] To: r-help@stat.math.ethz.ch Subject:[R] Plotting a broken line? Send reply to: [EMAIL PROTECTED] mailto:[EMAIL

Re: [R] Plotting a broken line?

2007-03-07 Thread Aldi Kraja
Hi Greg, Thank you for your response and a previous posting about Macros in R. Thank you also to Ken Knoblouch (Ken had the same idea as Greg's and Peter Pikal (who proposed the use of segments function). There is only a technical specific that when applying max function to find the limit of y