Extracts from a model object details about the random effect
coefficients, namely segment b
of the bottom level
parameter vector.
# S3 method for egf
ranef(object, makeSigma = FALSE, ...)
A data frame with one row per coefficient and variables:
label for a covariance matrix.
This is the interaction of term
and group
,
but using levels with format "Sigma[%d]"
.
label for a random vector.
This is the interaction of term
, group
, and level
,
but using levels with format "u[%d]"
.
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]"
.
name of the top level nonlinear model parameter whose
fitted value is a function of bottom
,
from egf_top(object)
.
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 of the factor or interaction indicated by group
.
column name in the random effects design matrix
model.matrix(object, "random")
.
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
.
an egf
object.
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.
The generic function ranef
.