rtps                 package:funfits                 R Documentation

_R_o_b_u_s_t _t_h_i_n _p_l_a_t_e _s_p_l_i_n_e _r_e_g_r_e_s_s_i_o_n

_U_s_a_g_e:

     rtps(..., max.iter=20, acc=10 * .Machine$single.eps^0.5, finish=F, 
     conv.method="lambda")

_A_r_g_u_m_e_n_t_s:

     ...: 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. 

_V_a_l_u_e:

     tps object.

_R_e_f_e_r_e_n_c_e_s:

     See Nonparametric Regression and Generalized Linear Models by
     Green and Silverman.

     See Additive Models by Hastie and Tibshirani.

_S_e_e _A_l_s_o:

     tps, summary.tps

_E_x_a_m_p_l_e_s:

     #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

