[R] Newbie question(piecewise linear relationship)

Jamie Jarabek duckman at ufl.edu
Tue Dec 5 16:29:01 CET 2000

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

More information about the R-help mailing list