raster.pca | R Documentation |
raster.pca, PCA on a set of environmental rasters
raster.pca(env, n)
env |
A set of environmental layers |
n |
The number of PCA layers to return |
A list containing a stack of rasters representing the top n pca axes of the initial environmental variables, as well as the pca object from the analysis that produced them.
env.pca <- raster.pca(euro.worldclim, 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.