[R] bivariate interpolation

From: eric lee <ericlee100_at_gmail.com>
Date: Tue 03 Apr 2007 - 02:26:06 GMT


Hi. I'm trying to take a data set with two independent and one dependent variable and enter a x,y value to predict the dependent with a nonparametric technique. I've been using interpp in the akima package, (windows xp, R 2.4.1), but get values that are orders of magnitude off when the predictors are slightly out of the range of the data set. Can you recommend a function for me? I've read that predict.loess has the same problem or just lists NA. Smooth.spline looks good, but can only do one predictor instead of bivariate. I've tried help.search("predict"), but couldn't find what I needed. Thanks.

        [[alternative HTML version deleted]]



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Tue Apr 03 12:31:29 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 03 Apr 2007 - 10:30:54 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.