gRfit                 package:gRbase                 R Documentation

_C_l_a_s_s "_g_R_f_i_t" - _f_i_t_t_e_d _g_r_a_p_h_i_c_a_l _m_o_d_e_l_s

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

     Objects of class 'gRfit' are created when the function 'fit' is
     applied to a 'gModel' object. When adding new types of gModel
     objects, one must also supply the appropritate 'fit' function. The
     'gRfit' object contains the output of the fit which can be
     accessed by 'getFit'. Separate 'print' and 'summary' methods exist
     for 'gRfit' objects.

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

     fit(m, engine)
     getFit(x)

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

       m: an object of class 'gModel'

  engine: a string with the possibility of implementing different
          fitting engines for the same 'gModel's.

       x: an object of class 'gRfit' as created from 'fit' applied to a
          'gModel' object.

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

     'fit' creates an object of class 'gRfit'. 'getFit' returns the fit
     information created by the fitting algorithm.

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

     Sren Hjsgaard, sorenh@agrsci.dk, 
      Claus Dethlefsen, aas.claus.dethlefsen@nja.dk

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

     'gModel'.

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

     data(reinis)
     reinis <- as.gmData(reinis)

     m1 <- hllm(~.^. , reinis) 
     m1 <- fit(m1,engine="loglm")

