You might want to have a look at function decevf in package pastecs.
It uses eigenvector filtering to reconstruct a signal using only the most representative eigenvectors.
It is applied for time series but you could easily modify the code to use it for spatial data also.
Bests,
Angel
Laura Quinn wrote:
Hi,
Is it possible to recreate "smoothed" data sets in R, by performing a PCA and then reconstructing a data set from say the first 2/3 EOFs?
I've had a look in the help pages and don't seem to find anything relevant.
Thanks in advance, Laura
Laura Quinn Institute of Atmospheric Science School of Earth and Environment University of Leeds Leeds LS2 9JT
tel: +44 113 343 1596 fax: +44 113 343 6716 mail: [EMAIL PROTECTED]
______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
.
______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
