[EMAIL PROTECTED] wrote:
>
>
>
> Hi,
>
> Is there a function under R that does principal component analysis and
then
> use the selected eignevectors to filter the data and transform back to the
> original coordinates?
> If there isn't, can someone guide as to how to do this approach.
>
> Much appreciated.
>

You have such a function in the pastecs library. It is called decevf(), for
"decomposition with eigenvector filtering (EVF), which is a synonyme for PCA
filtering. Once you have installed pastecs package, issue:

> library(pastecs)
> ?decevf
> example(decevf)

as a starting point.
Best,

Philippe Grosjean

.......................................................<?}))><....
 ) ) ) ) )
( ( ( ( (   Prof. Philippe Grosjean
\  ___   )
 \/ECO\ (   Numerical Ecology of Aquatic Systems
 /\___/  )  Mons-Hainaut University, Pentagone
/ ___  /(   8, Av. du Champ de Mars, 7000 Mons, Belgium
 /NUM\/  )
 \___/\ (   phone: + 32.65.37.34.97, fax: + 32.65.37.33.12
       \ )  email: [EMAIL PROTECTED]
 ) ) ) ) )  SciViews project coordinator (http://www.sciviews.org)
( ( ( ( (
...................................................................

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to