logLik-method: Extract log-likelihood

logLik-methodR Documentation

Extract log-likelihood

Description

Extract the observed-data log-likelihood.

Usage

## S4 method for signature 'SingleGroupClass'
logLik(object)

Arguments

object

an object of class SingleGroupClass, MultipleGroupClass, or MixedClass

References

Chalmers, R., P. (2012). mirt: A Multidimensional Item Response Theory Package for the R Environment. Journal of Statistical Software, 48(6), 1-29. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.18637/jss.v048.i06")}

Examples


## Not run: 
x <- mirt(Science, 1)
logLik(x)


## End(Not run)

mirt documentation built on Sept. 11, 2024, 7:14 p.m.