Yes, Tina is right, anyway consider also that, looking at my code, the
prcomp function and the predict functions can be run with different
objects. For instance the pca can be run on a 5 km raster map (aggregated)
or on the random samples (you will see that with an adequate number of
points the results will be the same) but the predict function can be
launched on the original dataset (1km) obtaining the pca components with
the desired spatial resolution
Regards, maurizio
?--
Maurizio Marchi,
PhD - Forest Science, Ecological Modelling
Council for Agricultural Research and Economics (CREA, Italy)
SkypeID: maurizioxyz
https://scholar.google.it/citations?user=_2X6fu8AAAAJ&hl=en
#-----#
http://ec.europa.eu/environment/life/project/Projects/index.cfm?fuseaction=search.dspPage&n_proj_id=5035
www.selpibio.eu
??www.eufgis.org?