NLSstClosestX              package:nls              R Documentation

_I_n_v_e_r_s_e _I_n_t_e_r_p_o_l_a_t_i_o_n

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

     Use inverse linear interpolation to approximate the `x' value at
     which the function represented by `xy' is equal to `yval'.

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

     NLSstClosestX(xy, yval)

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

      xy: a `sortedXyData' object

    yval: a numeric value on the `y' scale

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

     A single numeric value on the `x' scale.

_A_u_t_h_o_r(_s):

     Jose Pinheiro and Douglas Bates

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

     `sortedXyData', `NLSstLfAsymptote', `NLSstRtAsymptote',
     `selfStart'

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

     library( nls )
     data( DNase )
     DNase.2 <- DNase[ DNase$Run == "2", ]
     DN.srt <- sortedXyData( expression(log(conc)), expression(density), DNase.2 )
     NLSstClosestX( DN.srt, 1.0 )

