logLik.jglmm: Extract Log-Likelihood

View source: R/fit_stats.R

logLik.jglmmR Documentation

Extract Log-Likelihood

Description

Extract Log-Likelihood

Usage

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

Arguments

object

An object of class 'jglmm', as returned by 'jglmm()'.

...

Optional additional arguments, currently none are used.

Value

An object of class logLik, a number with attribute "df" (degrees of freedom), giving the number of (estimated) parameters in the model.

Examples

## Not run: 
jglmm_setup()
lm1 <- jglmm(Reaction ~ Days + (Days | Subject), lme4::sleepstudy)
logLik(lm1)

## End(Not run)

mikabr/jglmm documentation built on Nov. 18, 2022, 1:32 a.m.