1
저는 psych 패키지를 통해 요인 분석을 실행하고 있습니다. 인수가 Polychoric 매트릭스가 나왔다 cormat 내가 입력 할 때 파일이 비어 의미 길이가 0의 이유polychoric 행렬이 생성되었지만 인수 분석은 길이가 0 인 경우입니다.
cormat <- polychoric(na.omit(mself1))
##Warning message:
In cor.smooth(mat) : Matrix was not positive definite, smoothing was done
fa(cormat,nfactors=3,n.obs = 183 ,n.iter=1, rotate="oblimin",fm="ml")
## Error in if (dim(r)[1] == dim(r)[2]) { : argument is of length zero
난 그냥 궁금.
이 문제를 어떻게 해결할 수 있습니까? 아니면 "확실하지 않음"이있는 항목이 있습니까?
감사합니다.
이미 cormat <- polychoric (na.omit (mself1)) [[1]]을 통해 고정되었습니다. – user2020322