Learn R Programming

mirt (version 1.46.1)

logLik-method: Extract log-likelihood

Description

Extract the observed-data log-likelihood.

Usage

# S4 method for 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. tools:::Rd_expr_doi("10.18637/jss.v048.i06")

Examples

Run this code

# \donttest{
x <- mirt(Science, 1)
logLik(x)

# }

Run the code above in your browser using DataLab