pca_raster: Apply PCA to raster stack

Description Usage Arguments Value

View source: R/pca_raster.R

Description

Apply PCA to raster stack

Usage

1
pca_raster(x, nsamples = 10000, ncores, filename = NULL, ...)

Arguments

x

Raster stack

nsamples

Number of samples to use for calculation of PCA

ncores

Number of cores to use

filename

Optional. filename for writing raster to disk.

...

arguments passed on to PCA function

Value

A list with 1) the raster stack with the PCA components and 2) the PCA object


juoe/spatialtools documentation built on May 25, 2019, 6:25 p.m.