Skip to contents

Extract Log-Likelihood of galamm Object

Usage

# S3 method for class 'galamm'
logLik(object, ...)

Arguments

object

Object

...

Other arguments

Value

Object of class logLik

See also

Examples

# Linear mixed model with heteroscedastic residuals
mod <- galamm(
  formula = y ~ x + (1 | id),
  weights = ~ (1 | item),
  data = hsced
)

# Extract log likelihood
logLik(mod)
#> 'log Lik.' -2058.14 (df=5)