Problem in using mirtCAT() function

閲覧: 88 回
最初の未読メッセージにスキップ

Irshad Mujawar

未読、
2015/04/17 6:05:412015/04/17
To: mirt-p...@googlegroups.com
Hello Phil,

I am trying to use mirtCAT() by setting df = NULL, as I want to use it as offline without shiny questions. ( I am using dev version of mirtCAT i.e. 0.4.7 and and 1.9 of mirt package).

mod <- mirt(Science, 1)

CATdesign <- mirtCAT(df=NULL, mod, criteria = 'MI', design_elements = TRUE, local_pattern = c(1,1,1,1))

 
findNextItem
(CATdesign)
[1] 1
Warning message:
In is.na(person$responses) :
 
is.na() applied to non-(list or vector) of type 'NULL'


 
CATdesign <- updateDesign(CATdesign, items = 1, responses = 1, Theta = 0.5)
Error in x$person$items_answered[pick:(length(responses) + pick - 1L)] <- as.integer(items) :
  negative length vectors are
not allowed
In addition: Warning messages:
1: In is.na(x$person$items_answered) :
 
is.na() applied to non-(list or vector) of type 'NULL'
2: In min(which(is.na(x$person$items_answered))) :
 
no non-missing arguments to min; returning Inf


I am getting above error. Can you please help me out with this? Where am I going wrong?

Thanking you in advance,

Irshad.

Phil Chalmers

未読、
2015/04/17 10:41:262015/04/17
To: Irshad Mujawar、mirt-package
Hi Irshad,

Good catch, this was a bug introduced after rearranging some code for more portable user interfaces. It's been patched.

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.
For more options, visit https://groups.google.com/d/optout.

Irshad Mujawar

未読、
2015/04/20 7:26:052015/04/20
To: mirt-p...@googlegroups.com、irshadmuj...@gmail.com
Thank you very much Phil. It is working fine now. 
全員に返信
投稿者に返信
転送
新着メール 0 件