Extract variance and correlation components from model
Extract variance and correlation components from model
## S3 method for class 'galamm'VarCorr(x, sigma =1,...)
Arguments
x: An object of class galamm returned from galamm.
sigma: Numeric value used to multiply the standard deviations. Defaults to 1.
...: Other arguments passed onto other methods. Currently not used.
Returns
An object of class c("VarCorr.galamm", "VarCorr.merMod").
Examples
# Linear mixed model with heteroscedastic residualsmod <- galamm( formula = y ~ x +(1| id), weights =~(1| item), data = hsced
)# Extract information on variance and covarianceVarCorr(mod)# Convert to data frame# (this invokes lme4's function as.data.frame.VarCorr.merMod)as.data.frame(VarCorr(mod))
See Also
print.VarCorr.galamm() for the print function.
Other details of model fit: coef.galamm(), confint.galamm(), deviance.galamm(), factor_loadings.galamm(), family.galamm(), fitted.galamm(), fixef(), formula.galamm(), llikAIC(), logLik.galamm(), nobs.galamm(), predict.galamm(), print.VarCorr.galamm(), ranef.galamm(), residuals.galamm(), sigma.galamm(), vcov.galamm()