Learn R Programming

lsirm12pl (version 1.3.4)

gof: Goodness-of-fit LSIRM

Description

gof is goodness-of-fit the latent space of fitted LSIRM.

Usage

gof(object, chain.idx = 1)

Value

gof returns the boxplot or AUC plot

Arguments

object

Object of class lsirm.

chain.idx

Numeric; Index of MCMC chain. Default is 1.

Examples

Run this code
# \donttest{
# generate example item response matrix
data     <- matrix(rbinom(500, size = 1, prob = 0.5),ncol=10,nrow=50)
lsirm_result <- lsirm(data ~ lsirm1pl())
gof(lsirm_result)
# }

Run the code above in your browser using DataLab