lme4 (version 0.3-2)

reStruct: Create an reStruct object

Description

Create an reStruct object from values for its slots.

Usage

reStruct(fixed, random, data, weights, REML, nextraCols)

Arguments

fixed
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
data
a data.frame or model.frame in which the fixed and random arguments can be evaluated.
weights
a numeric vector of prior case weights for the observations. Defaults to equal weights.
REML
a logical value: if TRUE the REML criterion will be used for parameter estimation, otherwise the ML criterion will be used.
nextraCols
an integer giving the number of extra columns to be added to the stored matrices.

Value

  • An reStruct object.

See Also

reStruct-class, lmeLevel-class