glmmStruct {lme4} | R Documentation

## Create a glmm object

### Description

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

### Usage

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

### Arguments

`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`

### Value

A `glmm` object.

### See Also

`glmm-class`, `lmeLevel-class`

[Package Contents]