[R] piecewise linear approximation

Naxerova, Kamila Kamila_Naxerova at DFCI.HARVARD.EDU
Thu Aug 30 02:45:51 CEST 2007


Dear list,

I have a series of data points which I want to approximate with exactly two
linear functions. I would like to choose the intervals so that the total
deviation from my fitted lines is minimal. How do I best do this?

Thanks!
Kamila


The information transmitted in this electronic communication...{{dropped}}



More information about the R-help mailing list