최근이 오류를 수신 :오류 R의 정신 패키지에서 scoreItems 기능을 실행할 때 scoreItems
Error in keys[abs(list.i), i] <- sign(list.i) :
number of items to replace is not a multiple of replacement length
나는 오류를 얻을하는 데 사용되는 경우 코드를 실행할 때 나는 오류가 발생했다
mykey <- data.frame(scale1 = c(0,1,1), scale2 = c(1,1,0))
mydata <- data.frame(item1 = c(1,1,2,3,5), item2 = c(5,5,5,4,3),
item3 = 1:5)
test <- scoreItems(mykey, mydata) # throws error
: 이것은 내 재현 예입니다. 나는 1.6.12 버전의 패키지로 업그레이드했다.
어떤 오류가 발생합니까?