Re: [R] Principle component analysis function

From: Jim Lemon <>
Date: Thu, 06 Mar 2008 21:16:42 +1100

phthao05 wrote:
> Dear All,
> In a package, I want to use PCA function. The structure I used follow this
> page:
> fit<-principle(mydata, nfactors=9, rotation=TRUE)
> or:
> result<-PCA(mydata)
> But I don't known why R language in my computer noticed: "not found
> principle", "not found PCA".
> I download and installed R-2.6.2-win32.exe.
> Thanks alot for answering me.
> Hue University, VietNam.
The "principal" (note the spelling - do not let your spellchecker convince you otherwise) function is in the "psych" package. You must download and install this package in order to use the function.

The PCA function is in the "FactoMineR" package. same deal. See "An Introduction to R" in your HTML R help if you don't know how to download and install packages.

Jim mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Thu 06 Mar 2008 - 10:22:59 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 06 Mar 2008 - 11:30:19 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive