Dear R users, I am trying to fit a piecewise linear relationship for my data. I have my predicted ranks, obtained by regressing rank(y) on rank(x). Now I need to get y-values back by interpolating from the y-values on either side of the predicted ranks. I was trying to do this with approxfun and interp from the akima package but kept running into problems. Is there any easy way to do this? Jamie Jarabek -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._