[R] Reconstructing Datasets

Angel Lopez angel_lul at hotmail.com
Fri Mar 4 11:11:42 CET 2005


Hi Laura,
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: laura at env.leeds.ac.uk
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
> 
> .
>




More information about the R-help mailing list