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'

