rtps(..., max.iter=20, acc=10 * .Machine$single.eps^0.5, finish=F, conv.method="lambda")
...
| Arguments for tps function. Matrix of independent variables x and vector of dependent variables Y are required. |
max.iter
| Maximum number of iterations to convergence. |
acc
| Accuracy of convergence criteria. |
finish
| Finish the iterations with two iterations of the bisquare. |
conv.method
| Method of convergence, lambda or weights. |
See Additive Models by Hastie and Tibshirani.
#2-d example rtps(ozone$x, ozone$y) -> fit # fitting a surface to ozone measurements, using iterative reweighted least squares. plot(fit) # plots fit and residuals