Q.generate | R Documentation |
The function generates a complete Q-matrix based on a pre-specified probability of getting a one.
Q.generate(K, J, p, single.att = TRUE)
K |
The number of attributes |
J |
The number of items |
p |
The probability of getting a one in the Q-matrix |
single.att |
Whether all the single attribute patterns are included.
If |
The function returns a complete dichotomous Q-matrix
q = Q.generate(3,20,0.5,single.att = TRUE)
q1 = Q.generate(5,30,0.6,single.att = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.