print.VarCorr.galamm | R Documentation |
Print method for variance-covariance objects
## S3 method for class 'VarCorr.galamm'
print(
x,
digits = max(3, getOption("digits") - 2),
comp = c("Std.Dev.", "Variance"),
corr = any(comp == "Std.Dev."),
...
)
x |
An object of class |
digits |
Optional arguments specifying number of digits to use when printing. |
comp |
Character vector of length 1 or 2 specifying which variance components to print. Case sensitive. Can take one of the values "Std.Dev." and "Variance". |
corr |
Logical value indicating whether covariances or correlations should be printed. |
... |
Optional arguments passed on to other methods. Currently not used. |
The variance-covariance information is printed to the console and the
argument x
is silently returned.
This function is derived from lme4:::print.VarCorr.merMod
written by Douglas M. Bates, Martin Maechler, Ben Bolker, and Steve Walker.
batesFittingLinearMixedEffects2015galamm
VarCorr.galamm()
for the function creating the variance-covariance
objects.
Other details of model fit:
VarCorr()
,
coef.galamm()
,
confint.galamm()
,
deviance.galamm()
,
factor_loadings.galamm()
,
family.galamm()
,
fitted.galamm()
,
fixef()
,
formula.galamm()
,
llikAIC()
,
logLik.galamm()
,
nobs.galamm()
,
predict.galamm()
,
ranef.galamm()
,
residuals.galamm()
,
response()
,
sigma.galamm()
,
vcov.galamm()
# Linear mixed model with heteroscedastic residuals
mod <- galamm(
formula = y ~ x + (1 | id),
weights = ~ (1 | item),
data = hsced
)
# Extract information on variance and covariance
VarCorr(mod)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.