Learn R Programming

D3mirt (version 2.0.4)

summary.D3mirt: Summary Method for S3 Objects of Class D3mirt

Description

The summary method for the D3mirt() function.

Usage

# S3 method for D3mirt
summary(object, ..., digits = 4)

Value

Tables containing a and d parameters, multidimensional discrimination (MDISC), multidimensional item difficulty (MDIFF), direction cosines, and degrees for vector angles for items. If constructs were used in the estimation process, the summary function will also show tables for direction cosines, degrees for construct vectors, and directional discrimination (DDISC) parameters.

Arguments

object

A S3 object of class D3mirt.

...

Additional arguments.

digits

The number of digits shown per estimate. The default is digits = 4.

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() with constructs
con <- list(c(1,2,3,4,5,6,7,8,9,10),
            c(11,12,13,14),
            c(15,17,18,19,20))
mod <- D3mirt(x, modid = c("W7Q3", "W7Q20"), con.items = con)

# Call to summary
summary(mod)

#' # Call to summary rounded off to 2 digits
summary(mod, digits = 2)
}

Run the code above in your browser using DataLab