我在Rstudio中使用fa.parallel函数绘制碎石图的时候出现以下Warning messages是什么原因呢,辛苦大家帮我看看~ 运行之后有生成碎石图,但这个警告我不知道需不需要去处理。
我的代码:
fa.parallel(traindata[,-8],fa="pc",n.iter=100,show.legend=FALSE,main="Scree Plot with Parallel Analysis")
运行后能生成碎石图同时也出现警告:
Parallel analysis suggests that the number of factors = NA and the number of components = 1
Warning messages:
1:In cor.smooth(model) :Matrix was not positive definite, smoothing was done
2:In fa.stats(r = r, f = f, phi = phi, n.obs = n.obs, np.obs = np.obs, :The estimated weights for the factor scores are probably incorrect. Try a different factor score estimation method.
3:In fac(r = r, nfactors = nfactors, n.obs = n.obs, rotate = rotate,:An ultra-Heywood case was detected. Examine the results carefully)