extract_q_matrix {edina} | R Documentation |
Extract Q Matrix
Description
Given a modeling object, extract the Q Matrix
Usage
extract_q_matrix(x, ...)
## S3 method for class 'q_matrix'
extract_q_matrix(x, ...)
## S3 method for class 'edina'
extract_q_matrix(x, binary = TRUE, ...)
## Default S3 method:
extract_q_matrix(x, ...)
Arguments
x |
An |
... |
Additional parameters |
binary |
Boolean to indicate whether the Q matrix is shown in dichotomous form or in an estimated form. |
Value
A matrix
that is either dichotomous or estimated depending on the value
of the binary
parameter.
See Also
q_matrix()
,
as_q_matrix()
,
edina()
,
auto_edina()
Examples
# Q matrix values
x = matrix(c(1, 0, 0, 1), nrow = 2)
# Show Q matrix structure
Q = q_matrix(x)
# Retrieve Q matrix
extract_q_matrix(Q)
[Package edina version 0.1.1 Index]