raster_pca | R Documentation |
Perform a Principal Component Analysis on a SpatRaster
raster_pca(x, aggr = NULL, focal = NULL)
x |
SpatRaster. |
aggr |
Integer. Aggregation factor based on function |
focal |
Integer. smooth filter based on function |
a list with:
A SpatRaster containing the results of the PCA
A data.frame containing the main results of the PCA (standard deviation, proportion of variance and cumulative variance
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.