reStruct {lme4}R Documentation

Create an reStruct object

Description

Create an reStruct object from values for its slots.

Usage

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

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 the list determines the nesting structure in that the second component is nested within the first, the third within the second, and so on.
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.
analyticHessian a ilogical value: if TRUE the analytic Hessian of the objective can be calculated using the LMEhessian function.

Value

An reStruct object.

See Also

reStruct-class, lmeLevel-class


[Package Contents]