loglm1                 package:MASS                 R Documentation

_F_i_t _L_o_g-_L_i_n_e_a_r _M_o_d_e_l_s _b_y _I_t_e_r_a_t_i_v_e _P_r_o_p_o_r_t_i_o_n_a_l _S_c_a_l_i_n_g - _I_n_t_e_r_n_a_l _f_u_n_c_t_i_o_n

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

     'loglm1' is an internal function used by 'loglm'. It is a generic
     function dispatching on the 'data' argument.

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

     loglm1(formula, data, ...)

     ## S3 method for class 'xtabs':
     loglm1(formula, data, ...)

     ## S3 method for class 'data.frame':
     loglm1(formula, data, ...)

     ## Default S3 method:
     loglm1(formula, data, start = rep(1, length(data)), fitted = FALSE,
            keep.frequencies = fitted, param = TRUE, eps = 1/10,
            iter = 40, print = FALSE, ...)

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

 formula: A linear model formula specifying the log-linear model. See
          'loglm' for its interpretation.

    data: Numeric array or data frame.  In the first case it specifies
          the array of frequencies; in then second it provides the data
          frame from which the variables occurring in the formula are
          preferentially obtained in the usual way.

          This argument may also be the result of a call to 'xtabs'. 

start, param, eps, iter, print: Arguments passed to 'loglin'.

  fitted: logical: should the fitted values be returned?

keep.frequencies: If 'TRUE' specifies that the (possibly constructed)
          array of frequencies is to be retained as part of the fitted
          model object.  The default action is to use the same value as
          that used for 'fitted'. 

     ...: arguments passed to the default method.

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

     An object of class '"loglm"'.

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

     'loglm', 'loglin'

