amer                  package:amer                  R Documentation

_f_i_t _a (_g_e_n_e_r_a_l_i_z_e_d) _a_d_d_i_t_i_v_e _m_i_x_e_d _m_o_d_e_l _u_s_i_n_g _l_m_e_r...

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

     fit a (generalized) additive mixed model using lmer

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

     amer(formula, data, family, REML=TRUE, control=list(), start,
         verbose=FALSE, subset, weights, na.action, offset,
         contrasts, basisGenerators=c("tp", "tpU"), ...)

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

 formula: a two-sided formula object describing the fixed-effects part
          of the model, with the response on the left of a ~ operator
          and the terms, separated by + operators, on the right. The
          terms can include specifications for non-grouped random
          effects of types given in 'basisGenerators', see examples.
          The vertical bar character "|" separates an expression for a
          model matrix and a grouping factor.

    data: an optional data frame containing the variables named in
          formula. By default the variables are taken from the
          environment from which lmer is called.

  family: a GLM family, see 'glm' and 'family'. If 'family' is missing
          then a linear mixed model is fit; otherwise a generalized
          linear mixed model is fit.

    REML: logical argument to 'lmer' only. Should the estimates be
          chosen to optimize the REML criterion (as opposed to the
          log-likelihood)?  Defaults to 'TRUE'.

 control: a list of control parameters for 'lmer'

   start: a named list of starting values for the parameters in the
          model. See 'lmer'.

 verbose: logical scalar.  If 'TRUE' verbose output is generated during
          the optimization of the parameter estimates.

  subset: see 'lmer'

 weights: see 'lmer'

na.action: see 'lmer'

  offset: see 'lmer'

contrasts: see 'lmer'

basisGenerators: a character vector of names of functions that generate
          bases for function estimation in a way amer can use. See 'tp'
          for an example.

     ...: further arguments handed to 'lmer'

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

     An object of class 'amer-class'.  See there for details.

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

     Fabian Scheipl

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

     'tests/optionsTests.r' and the vignette for examples

