Description Usage Arguments Value Author(s) See Also Examples
Simulates a Q matrix containing three identity matrices after a row permutation that is identifiable.
1 | sim_q_matrix(J, K)
|
J |
Number of Items |
K |
Number of Attributes |
A dichotomous matrix
for Q.
Steven Andrew Culpepper and James Joseph Balamuta
simcdm::attribute_bijection()
and simcdm::attribute_inv_bijection()
1 2 3 4 5 6 7 | ## Simulate identifiable Q matrices ----
# 7 items and 2 attributes
q_matrix_j7_k2 = sim_q_matrix(7, 2)
# 10 items and 3 attributes
q_matrix_j10_k3 = sim_q_matrix(10, 3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.