glmmStruct               package:lme4               R Documentation

_C_r_e_a_t_e _a _g_l_m_m _o_b_j_e_c_t

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

     Create a `glmm' object from values for its slots.

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

     glmmStruct(formula, random, family, data, nextraCols, method, ...)

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

 formula: a formula of the form `response ~ terms' where `response' is
          an expression for the response and `terms' are one or more
          terms that define the fixed-effects.

  random: a named list of one-sided formulas.  The names in the list
          evaluate to the grouping factors and the right-hand side of
          the formula is an expression for a `pdMat' object that itself
          contains a formula.  The order of the components of the list
          determines the nesting structure in that the second component
          is nested within the first, the third within the second, and
          so on.

  family: a description of the error distribution and link function to
          be used in the model. See `family' for details.

    data: a `data.frame' or `model.frame' in which the `fixed' and
          `random' arguments can be evaluated.

nextraCols: an `integer' giving the number of extra columns to be added
          to the stored matrices.

  method: a `character' giving the method used to fit the model.

     ...: optional arguments passed to `model.frame'

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

     A `glmm' object.

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

     `glmm-class', `lmeLevel-class'

