plain_summary: Plain-Language Layered Summary of a Fitted Model

View source: R/plain_summary.R

plain_summaryR Documentation

Plain-Language Layered Summary of a Fitted Model

Description

Prints a layered, plain-language summary of a fitted item response model: conclusion first, then analysis overview, item quality, ability distribution and suggested next steps. Intended for survey staff and decision makers; statisticians can use summary(mod) for the full technical output.

Usage

plain_summary(mod, lang = irtc_lang())

Arguments

mod

A fitted irtc model object (from irtc, irtc.mml or irtc.mml.2pl).

lang

Output language, "zh" or "en".

Value

Invisibly, the list of summary sections (each with title and body); the same content that irtc_report uses.

See Also

irtc, irtc_report

Examples

set.seed(1)
theta <- rnorm(150)
resp <- as.data.frame(sapply(seq(-1, 1, length.out = 5), function(b) {
    as.numeric(runif(150) < plogis(theta - b))
}))
mod <- irtc(resp, model = "1PL", verbose = FALSE)
plain_summary(mod, lang = "en")

IRTC documentation built on July 24, 2026, 5:07 p.m.