getInitial                package:nls                R Documentation

_G_e_t _I_n_i_t_i_a_l _P_a_r_a_m_e_t_e_r _E_s_t_i_m_a_t_e_s

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

     This function evaluates initial parameter estimates for a
     nonlinear regression model.  If `data' is a parameterized data
     frame or `pframe' object, its `parameters' attribute is returned.
     Otherwise the object is examined to see if it contains a call to a
     `selfStart' object whose `initial' attribute can be evaluated.

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

     getInitial(object, data, ...)

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

  object: a formula or a `selfStart' model that defines a nonlinear
          regression model

    data: a data frame in which the expressions in the formula or
          arguments to the `selfStart' model can be evaluated

     ...: optional additional arguments

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

     A named numeric vector or list of starting estimates for the
     parameters.  The construction of many `selfStart' models is such
     that these "starting" estimates are, in fact, the converged
     parameter estimates.

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

     Jose Pinheiro and Douglas Bates

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

     `nls',  `selfStart', `selfStart.default', `selfStart.formula'

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

     library(nls)
     data(Puromycin)
     PurTrt <- Puromycin[ Puromycin$state == "treated", ]
     getInitial( rate ~ SSmicmen( conc, Vm, K ), PurTrt )

