Error in is.nan(scores) : default method not implemented for type 'list'

1,011 views
Skip to first unread message

João Paulo Araújo Lessa

unread,
Sep 14, 2021, 2:22:21 PM9/14/21
to mirt-package
Hi guys,

I am trying to estimate a score through 'fscores' function. Here is my syntax:

# Estimating proficiencies

Language_wide$proficiency_LI<-fscores(ch_m3pl_LI, method = "EAP",response.pattern=answers)[,'th_ch']

Then, I get this message:
Error in is.nan(scores) : default method not implemented for type 'list'

Does anyone know what might be happening?

Regards,

Hugo Harada

unread,
Sep 15, 2021, 1:24:10 PM9/15/21
to João Paulo Araújo Lessa, mirt-package
What str(answers) returns?

Hugo

--
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/ccbfbc7a-5050-44ff-a2c7-5552e276e042n%40googlegroups.com.


--


Adaptativa

Hugo Harada
Sócio-fundador - COO

Adaptativa Inteligência Educacional S.A.
Cel: (11) 96345-0390
Rua Claudio Soares, 72 - Sala 411Pinheiros, CEP 05422-030, São Paulo - SP 
http://www.adaptativa.com.br

Facebook Twitter Google Plus Youtube

Phil Chalmers

unread,
Sep 20, 2021, 2:00:35 PM9/20/21
to João Paulo Araújo Lessa, mirt-package
Also, can you provide a short reprex?

Phil


João Paulo Araújo Lessa

unread,
Sep 28, 2021, 8:36:47 AM9/28/21
to Phil Chalmers, mirt-package
Thank you all. 

I am sorry in the delay, but the problem was the missing values. There were lots of 'NAs' in the dataframe. I couldn't realize it until I coded 'str(answers)' just like Hugo asked for. 

Cheers,
--
Atenciosamente,

João Paulo A. Lessa
Mestre e Doutorando em Psicologia, com ênfase em Avaliação Psicológica - USF/SP
Especialista em Psicologia - IPOG
Reply all
Reply to author
Forward
0 new messages