print.D3mirt | R Documentation |
D3mirt
The print method for the D3mirt()
function.
## S3 method for class 'D3mirt'
print(x, ...)
x |
A S3 object of class |
... |
Additional arguments. |
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.
Erik Forsberg
## Not run:
# 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)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.