print.summary.ctt: Print the Full Report for a Combined CTT Analysis

View source: R/print.R

print.summary.cttR Documentation

Print the Full Report for a Combined CTT Analysis

Description

Displays the complete classical test theory (CTT) report for an object of class "summary.ctt" produced by summary.ctt(): the function call, the full item-level statistics table (including flags, if present), the test-level reliability summary, and the total-score frequency distribution, following the sectioned reporting style used by print.summary.est_irt() in irtQ.

Usage

## S3 method for class 'summary.ctt'
print(x, digits = 3, ...)

Arguments

x

An object of class "summary.ctt", as returned by summary.ctt().

digits

Number of decimal places used when rounding numeric values for display. Default is 3. Note that the statistics bundled into x are already rounded to 3 decimal places upstream, so a digits value greater than 3 here cannot recover precision that was already discarded; digits is only useful for displaying the report at 3 or fewer decimal places.

...

Additional arguments passed to or from other methods (currently not used).

Value

x, invisibly.

Author(s)

Hwanggyu Lim hglim83@gmail.com

See Also

ctt(), summary.ctt()

Examples

# simulate the responses of 300 examinees to 15 dichotomous 3PLM items
set.seed(1)
x <- shape_df(
  par.drm = list(a = rep(1.5, 15), b = seq(-1.5, 1.5, length.out = 15),
                 g = rep(0.2, 15)),
  cats = 2, model = "3PLM"
)
dat <- simdat(x = x, theta = rnorm(300), D = 1)

# run the CTT analysis
out <- ctt(data = dat)

# print the full report with values rounded to 2 decimal places
print(summary(out), digits = 2)


irtQ documentation built on Oct. 5, 2026, 5:08 p.m.