View source: R/plain_summary.R
| plain_summary | R Documentation |
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.
plain_summary(mod, lang = irtc_lang())
mod |
A fitted |
lang |
Output language, |
Invisibly, the list of summary sections (each with title and
body); the same content that irtc_report uses.
irtc, irtc_report
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.