ranef.egf {epigrowthfit}R Documentation

Details about Random Effect Coefficients

Description

Extracts from a model object details about the random effect coefficients, namely segment b of the bottom level parameter vector.

Usage

## S3 method for class 'egf'
ranef(object, makeSigma = FALSE, ...)

Arguments

object

an egf object.

makeSigma

a logical flag. If TRUE, then random effect covariance matrices are constructed from segment theta of coef(object, full = TRUE) and preserved as an attribute of the result.

...

unused optional arguments.

Value

A data frame with one row per coefficient and variables:

cov

label for a covariance matrix. This is the interaction of term and group, but using levels with format "Sigma[%d]".

vec

label for a random vector. This is the interaction of term, group, and level, but using levels with format "u[%d]".

bottom

label for a bottom level mixed effects model parameter, in this case for a random effect coefficient; this is a string with format "b[%d]".

top

name of the top level nonlinear model parameter whose fitted value is a function of bottom, from egf_top(object).

term, group

term from the random effects component of the mixed effects model formula for parameter top. term and group give the left and right hand sides of the term, which is a call to binary operator |.

level

level of the factor or interaction indicated by group.

colname

column name in the random effects design matrix model.matrix(object, "random").

value

random effect conditional mode (unit variance scale), from segment b of coef(object, full = TRUE).

If makeSigma = TRUE, then the result has attribute Sigma, a list of covariance matrices corresponding to the levels of variable cov.

See Also

The generic function ranef.


[Package epigrowthfit version 0.15.3 Index]