path                 package:funfits                 R Documentation

_F_i_n_d_s _p_a_t_h _o_f _s_t_e_e_p_e_s_t _a_s_c_e_n_t

_D_e_s_c_r_i_p_t_i_o_n:

     The object from a fitting procedure must have a predict function.
     Path calls the function nlminb which finds a local minimum of a 
     smooth nonlinear function subject to bounded-constrained
     paramenters.

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

     path(fit, r, x.center, x.scale, maximize=T, scale=0.0001, start, trace.z=F)

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

     fit: Object from a fitting procedure. A predict function for the
          fit must be available. 

       r: Vector of increasing values for the radii of the
          hyperspheres. 

x.center: Center of the hypersheres, in the original coordinates of the
          data. 

 x.scale: Scale of the hyperspheres, in the original coordinates of the
          data. 

maximize: Default is to search for the maximum. 

   scale: Transformation scale of data. 

   start: Starting value for the search, the default is the middle of
          the region. 

 trace.z: 

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

     Array with the components of the values of the data, the radius of
     the hypersphere of the search and the predicted value of the
     surface.

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

     optim, nlminb, predict.tps, predict.krig, predict.nnreg

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

     tps(BD[,1:4],BD$lnya,scale.type="range") -> fit # fitting a DNA strand
     # displacement amplification surface to various buffer compositions
     path(fit,c(.01,.05)) -> fit.path # path from center of data to
     # hyperspheres with radii .01 and .05

