[R] Question about package "principal"
오건희
gunfifa12 at gmail.com
Sun Jan 11 12:55:33 CET 2015
Hi,
I tried to run "principal" function in the 'psych' package, but it failed
to do..
here is both my code and error message.
I searched on the web, but couldn't find the exact answer I wanted.
> data<-read.csv("
https://raw.githubusercontent.com/mylesmharrison/delta_PCA_kmeans/master/delta.csv
",row.names=1)
> airpca<-principal(data,nfactors=33,rotate="none")
Error in solve.default(model, r) :
system is computationally singular: reciprocal condition number =
7.05776e-17
In addition: Warning messages:
1: In cor.smooth(model) :
Matrix was not positive definite, smoothing was done
2: In cor.smooth(r) : Matrix was not positive definite, smoothing was done
Thank you for your help.
[[alternative HTML version deleted]]
More information about the R-help
mailing list