theta_lim does not adjucst the latent trait range

13 views
Skip to first unread message

Nikolaos Tsigilis

unread,
May 27, 2024, 11:31:35 AMMay 27
to mirt-package
Dear Phil,

I want to examine the "trace" and "info" graphs using the itemplot function. I also want to change the range of the theta_lim from the default c(-6, 6) to c(-3, 3), but it seems that the mirt does not adjust the graph. 

This is my code
itemplot(fit.cogn, 5, type = "trace", theta_lim = c(-3, 3))
This is what I get
Στιγμιότυπο 2024-05-27, 6.17.54 μμ.png

Phil Chalmers

unread,
May 27, 2024, 1:13:06 PMMay 27
to Nikolaos Tsigilis, mirt-package
This was fixed on the dev version sometime back, however this version has not been released to CRAN yet. Try the following:

#####
devtools::install_github('philchalmers/mirt')

library(mirt)
mod <- mirt(Science)
itemplot(mod, 1, type = "trace", theta_lim = c(-3, 3))
#####

Phil


--
You received this message because you are subscribed to the Google Groups "mirt-package" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mirt-package...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mirt-package/f437a8b4-a4e7-42cf-843c-7bbbc110e874n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages