View source: R/logLik.galamm.R
| logLik.galamm | R Documentation |
Extract Log-Likelihood of galamm Object
## S3 method for class 'galamm'
logLik(object, ...)
object |
Object |
... |
Other arguments |
Object of class logLik
deviance.galamm() for a function returning deviance and
logLik() for the generic function.
Other details of model fit:
VarCorr(),
coef.galamm(),
confint.galamm(),
deviance.galamm(),
factor_loadings.galamm(),
family.galamm(),
fitted.galamm(),
fixef(),
formula.galamm(),
llikAIC(),
nobs.galamm(),
predict.galamm(),
print.VarCorr.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 log likelihood
logLik(mod)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.