RDINA2GDINA | R Documentation |
This function translates an object of class RDINA
to an object of class GDINA
, so that the estimated R-DINA object is compatible with most of the functions in the GDINA
package (Ma & de la Torre, 2020), including model fit, item fit, and Q-matrix validation.
RDINA2GDINA(fit)
fit |
An object of class |
RDINA2GDINA
returns an object of class GDINA
. See the GDINA
package for more information.
Pablo Nájera, Universidad Pontificia Comillas
Ma, W., & de la Torre, J. (2020). GDINA: An R package for cognitive diagnosis modeling. Journal of Statistical Software, 93(14). https://doi.org/10.18637/jss.v093.i14
library(GDINA)
dat <- sim30DINA$simdat
Q <- sim30DINA$simQ
fit1 <- RDINA(dat, Q)
fit2 <- RDINA2GDINA(fit1)
modelfit(fit2) # Model fit evaluation
itemfit(fit2) # Item fit evaluation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.