Skip to menu

안녕하세요 선생님
moonBook사용중 오류로 문의드립니다.

게시판 찾아보니 비슷한 질문이 2022년 4월에 있었던데.
저도 아마 
R업데이트 이후, factor 변수 중 한 level의 개수가 0인 경우가 있어 오류가 나는 것 같은데

> tab1 <- mytable(Compli~.,data=c_kbend2, max.ylev=8)

Error in names(subgroup) <- rownames(result) : 'names' attribute [2] must be the same length as the vector [1]

 

이렇게 오류가 보여 문의드립니다.