I have an error message which I don't understand:
Error in matrix(1, nrow = sum(groups$groupfirst)) : data is too long
It appears when using raschmix():
nicetry_mix1 <- raschmix(Eleven ~ Sksum, data = nicetry, k = 1:4,scores = "meanvar")
That's the structure of my data
> str(nicetry)
'data.frame': 99 obs. of 3 variables:
$ Gender: Factor w/ 3 levels "w","m","x": 1 1 2 1 2 2 1 2 2 1 ...
$ Sksum : int 23 28 26 38 30 21 29 39 32 29 ...
$ Eleven: num [1:99, 1:11] 3 2 5 4 1 1 3 1 4 3 ...
..- attr(*, "dimnames")=List of 2
.. ..$ : NULL
.. ..$ : chr [1:11] "Item011" "Item021" "Item031" "Item041" ...
Does anyone have an idea what the error message means? I am so lost!
Thank you very much for any suggestions!