Re: [R] Help with segmented package

2012-03-02 Thread Filoche
Thank you Vito for your help. Works very nice. Have a nice day, Phil -- View this message in context: http://r.789695.n4.nabble.com/Help-with-segmented-package-tp4435550p4438589.html Sent from the R help mailing list archive at Nabble.com. __ R-help@

Re: [R] Help with segmented package

2012-03-01 Thread vito.muggeo
dear Phil, plot.segmented() accepts vectorized 'col', 'lty' and 'lwd' arguments. Then, par(mfrow=c(1,2)) plot(o.seg,col=2:3,lty=2:3,lwd=c(1,2)) plot(z,y) plot(o.seg,col=2:3,lty=1,linkinv=T,add=T,lwd=2) hope this helps you, vito On Thu, 1 Mar 2012 08:57:39 -0800 (PST), Filoche wrote > Hi eve

[R] Help with segmented package

2012-03-01 Thread Filoche
Hi everyone. I'm using segmented package to find break point in a bi-linear relationship. In a particular case, I find 1 pointcut (so 2 slopes). I would like to know if it is possible to retrieve information in the segmented object that could let me to plot 1 particular segment with a different c