Re: [R] Annotate a segmented linear regression plot

2012-10-02 Thread David Winsemius
On Oct 2, 2012, at 3:38 PM, Ben Harrison wrote: > On 28 September 2012 16:38, David Winsemius wrote: >> >> ?text # should be fairly clear. > > Thank you. I was stupid to ask such a trivial question along with a > not-so-trivial one. The second part of the question was probably more > importan

Re: [R] Annotate a segmented linear regression plot

2012-10-02 Thread Ben Harrison
On 28 September 2012 16:38, David Winsemius wrote: > > ?text # should be fairly clear. Thank you. I was stupid to ask such a trivial question along with a not-so-trivial one. The second part of the question was probably more important: is there a way to obtain the location of segments produced b

Re: [R] Annotate a segmented linear regression plot

2012-09-27 Thread David Winsemius
On Sep 27, 2012, at 9:07 PM, Ben Harrison wrote: > Hello, > > I have produced some segmented regressions with the segmented package by > Viggo Mutteo. I have some example data and code below. I want to annotate > the individual segments with the slope parameter (actually it would be > nicer to a

[R] Annotate a segmented linear regression plot

2012-09-27 Thread Ben Harrison
Hello, I have produced some segmented regressions with the segmented package by Viggo Mutteo. I have some example data and code below. I want to annotate the individual segments with the slope parameter (actually it would be nicer to annotate with 1000*slope and add some small amount of text as we