setReTrm: Set model matrix slice and relative covariance factor block...

Description Usage Arguments Value Mixed model formula usage Note See Also

Description

Set model matrix slice and relative covariance factor block for a random effects term

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
setReTrm(object, addArgsList, auxEnv = NULL, devfunEnv = NULL)

## Default S3 method:
setReTrm(object, addArgsList, auxEnv = NULL,
  devfunEnv = NULL)

findReTrmClasses(formula = NULL)

getAddArgs(addArgsExpr, addArgsList)

## S3 method for class 'reTrmStruct'
ranef(object, type = c("u", "Lu", "ZLu"), ...)

Arguments

object

a reTrmStruct object

addArgsList

a list of named quantities within which addArgsExpr is evaluated

auxEnv

an optional auxilliary environment containing objects that are possibly required for the setting of a random effects term structure (currently this is almost always the environment of a call to strucParseFormula, unless setReTrm is called directly)

devfunEnv

optional environment of the deviance function

formula

generalized mixed model formula. if NULL (the default) findReTrmClasses returns classes available (on the search path).

addArgsExpr

a list of expressions for evaluating within addArgsList

type

see ranef.strucGlmer

...

not used (for consistency with generic)

Value

object with the following additional elements:

Zt

A strucMatrix object describing the slice of the model matrix associated with the random effects term.

Lambdat

A strucMatrix object describing the block of the relative covariance factor associated with the random effects term.

lowerLoads,upperLoads,lowerCovar,upperCovar

Lower/upper bounds on loading parameters (possible parameters for Zt) and/or covariance parameters (possible parameters for Lambdat)

Mixed model formula usage

The default method is identical to a standard lme4 random effects term. (linForm | grpFac)

linForm

linear model formula

grpFac

grouping factor

Note

Almost never called directly, but instead called within strucParseFormula.

See Also

mkReTrmStructs for construction of these objects

getReTrm

Other setReTrm: biplot.factAnal, factAnal, scores.factAnal, setReTrm.factAnal; cooccur, setReTrm.cooccur; expDecay, setReTrm.expDecay; flexvar, setReTrm.flexvar; getCorStruct, nlmeCorStruct, setReTrm.nlmeCorStruct; identity, setReTrm.identity; lme4, setReTrm.lme4; obslev, setReTrm.obslev; phyloEdge, setReTrm.phyloEdge; sem, setReTrm.sem; setReTrm.varExp, varExp; setReTrm.varIdent, varIdent


stevencarlislewalker/lme4ord documentation built on May 30, 2019, 4:43 p.m.