[R] Question abt 'factanal' function

2015-01-18 Thread 오건희
Hi,

I tried to run 'factanal' function for Factor Analysis, but failed to get
results.

The error message was following,

Error in factanal(data, factors = 3, rotation = varimax) :
  unable to optimize from this starting value

I searched for the solution of this error, and one said putting
'control=list(trace=T)' in the argument as

option, but it also failed. looks like no way for it on my own.

I doubted that high correlation btw observed variables in the original
data, so removed some

variables with high correlations (1~3, 19, 23~33). After that, I ran it ,
but also couldn't get any output.

If you respond to my question, it will a big help for me .

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] Question about package principal

2015-01-11 Thread 오건희
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]]

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] Problem in installing package ggplot2

2014-07-18 Thread 오건희
Hi..

After  I upgraded R from 3.1 to 3.11, I stuck with problem in installing
'ggplot2' package

The error message was;

Error in loadNamespace(j - i[[1L]], c(lib.loc, .libPaths()), versionCheck
= vI[[j]]) :
  there is no package called ‘Rcpp’
Error: package or namespace load failed for ‘ggplot2’


I tried to find out resolution on the web.. and most people recommend
following;


install.packages(ggplot2,dependencies=T)

However, it didn't work, either.. it's so confusing.

I should use this package ASAP.. so, hope you guys give me a clear answer.

Best for your effort,

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.