nlmP                  package:geoR                  R Documentation

_A_d_a_p_t_s _n_l_m _f_o_r _C_o_n_s_t_r_a_i_n_t_s _i_n _t_h_e _P_a_r_a_m_e_t_e_r _V_a_l_u_e_s

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

     This function adapts the R function `nlm' to allow for constraints
     (upper and/or lower bounds) in the values of the parameters.

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

     nlmP(objfunc, params, lower=rep(-Inf, length(params)),
          upper=rep(+Inf, length(params)), ...)

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

 objfunc: the function to be minimized.  

  params: starting values for the parameters.  

   lower: lower bounds for the variables. Defaults to -Inf.  

   upper: upper bounds for the variables. Defaults to -Inf.  

     ...: further arguments to be passed to the function `nlm'.  

_D_e_t_a_i_l_s:

     Constraints on the parameter values are internally imposed by
     using exponential, logarithmic, and logit transformation of the
     parameter values.

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

     The output is the same as for the function `nlm'.

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

     Patrick E. Brown p.brown@lancaster.ac.uk.
     Adapted and included in geoR by 
     Paulo Justiniano Ribeiro Jr. Paulo.Ribeiro@est.ufpr.br

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

     Further information about geoR can be found at:
     <URL: http://www.maths.lancs.ac.uk/~ribeiro/geoR.html>.

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

     `nlm', `optim'.

