View source: R/summaryD3mirt.R
summary.D3mirt | R Documentation |
D3mirt
The summary method for the D3mirt()
function.
## S3 method for class 'D3mirt'
summary(object, ..., digits = 4)
object |
A S3 object of class |
... |
Additional arguments. |
digits |
The number of digits shown per estimate. The default is |
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.
Erik Forsberg
## Not run:
# 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)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.