Learn R Programming

D3mirt (version 2.0.4)

print.D3mirt: Print Method for S3 Objects of Class D3mirt

Description

The print method for the D3mirt() function.

Usage

# S3 method for D3mirt
print(x, ...)

Value

A printed message reporting the number of items, levels of difficulty, the number of construct vectors, and the names of the respective items contained in each construct.

Arguments

x

A S3 object of class D3mirt.

...

Additional arguments.

Author

Erik Forsberg

Examples

Run this code
if (FALSE) {
# Load data
data("anes0809offwaves")
x <- anes0809offwaves
x <- x[, 3:22] # Remove columns for age and gender

# Call D3mirt()
mod <- D3mirt(x, modid = c("W7Q3", "W7Q20"))

# Print model summary
print(mod)
}

Run the code above in your browser using DataLab