I have a data frame of 111 items with a binary answer (0 for failure, 1 for success) followed by a column with the Group (named Group and coded with 1, 2 or 3).
I have 145 rows (subjects) + the heading.
I am trying to screen for differential item functioning in the 3 different groups of subject (1,2 or 3) thanks to the difR package.
My dataframe is Nam, here is the code i used :
Mat<-data.matrix(Nam, rownames.force = NA)
res<-difGenLord(Mat,group="Group",focal.names="2,3",nrFocal=2,model="1PL")
Error in gauher(k) : object 'gh' not found
I did not find anyone reporting the same error and I am stuck with this problem. Anyone has an idea what gauher(k) is supposed to be ?