| merMod-class {lme4} | R Documentation |
A mixed-effects model is represented as a
merPredD object and a response
module of a class that inherits from class
lmResp. A model with a
lmerResp response has class lmerMod; a
glmResp response has class glmerMod; and a
nlsResp response has class nlmerMod.
## S3 method for class 'merMod'
anova(object, ..., refit = TRUE, model.names=NULL)
## S3 method for class 'merMod'
terms(x, fixed.only = TRUE, ...)
## S3 method for class 'merMod'
vcov(object, correlation = TRUE, sigm = sigma(object),
use.hessian = NULL, ...)
## S3 method for class 'merMod'
print(x, digits = max(3, getOption("digits") - 3),
correlation = NULL, symbolic.cor = FALSE,
signif.stars = getOption("show.signif.stars"), ranef.comp = "Std.Dev.", ...)
## S3 method for class 'merMod'
summary(object, correlation = , use.hessian = NULL, ...)
## S3 method for class 'summary.merMod'
print(x, digits = max(3, getOption("digits") - 3),
correlation = NULL, symbolic.cor = FALSE,
signif.stars = getOption("show.signif.stars"),
ranef.comp = c("Variance", "Std.Dev."), show.resids = TRUE, ...)
## S3 method for class 'merMod'
weights(object, type = c("prior", "working"), ...)
object |
an R object of class |
x |
an R object of class |
refit |
logical indicating if objects of class |
model.names |
character vectors of model names to be used in the anova table. |
fixed.only |
logical indicating if only the fixed effects
|
correlation |
(logical) for |
use.hessian |
(logical) indicates whether to use the
finite-difference Hessian of the deviance function to compute
standard errors of the fixed effects, rather estimating
based on internal information about the inverse of
the model matrix (see
|
sigm |
the residual standard error; by default |
digits |
number of significant digits for printing |
symbolic.cor |
should a symbolic encoding of the fixed-effects correlation
matrix be printed? If so, the |
signif.stars |
(logical) should significance stars be used? |
ranef.comp |
character vector of length one or two, indicating if random-effects parameters should be reported on the variance and/or standard deviation scale. |
show.resids |
should the quantiles of the scaled residuals be printed? |
type |
type of weights to be returned; either |
... |
potentially further arguments passed from other methods. |
Objects of class merMod are created by calls to
lmer, glmer or nlmer.
The following S3 methods with arguments given above exist (this list is currently not complete):
summary:Computes and returns a list of summary statistics of the
fitted model, the amount of output can be controlled via the print method,
see also summary.
print.summary:Controls the output for the summary method.
vcov:Calculate variance-covariance matrix of the fixed
effect terms, see also vcov.
anova:returns the sequential decomposition of the contributions of
fixed-effects terms or, for multiple arguments, model comparison statistics.
For objects of class lmerMod the default behavior is to refit the models
with LM if fitted with REML = TRUE, this can be controlled via the
refit argument. See also anova.
lmer, glmer,
nlmer, merPredD,
lmerResp,
glmResp,
nlsResp
showClass("merMod")
methods(class="merMod")## over 30 (S3) methods available
## -> example(lmer) for an example of vcov.merMod()