You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to learn more about how to simulate IRT data with different models. I went into the simdata() function to run it line by line and see how it was handling different arguments, parameters, calculations, etc. I noticed that I get an error where the code reads
Thanks for the report; simdata() is long overdue for a reworking, so finding bugs at this point is welcome. However, would you mind providing a brief, reproducible script so that I can see the issue firsthand? That will save me time in making a patch. Thanks!
Hello Phil,
I wanted to learn more about how to simulate IRT data with different models. I went into the
simdata()
function to run it line by line and see how it was handling different arguments, parameters, calculations, etc. I noticed that I get an error where the code readsiif (length(gpcm_mats)) { stopifnot(length(gpcm_mats) == nitems) use_gpcm_mats <- sapply(gpcm_mats, is.matrix) }
I believe this is because the
if(length(gpcm_mats))
statement is missing a value to compare the length to (e.g.,if(length(gpcm_mats) == 1L)
).Please let me know if my assessment is incorrect. Thank you for all your work on this amazing package.
Best,
Laura
The text was updated successfully, but these errors were encountered: