myRasterPCA: Calculate PCA of a raster from covariance matrix

Description Usage Arguments

View source: R/myRasterPCA.R

Description

Calculate PCA of a raster from covariance matrix

Usage

1
myRasterPCA(x, covMat, xmeans, nComp = 2, threads = 1, ...)

Arguments

x

Raster object

covMat

Matrix of covariance with rownames and colnames correspondign to raster layer names

xmeans

Mean of each layer of x, as a named numeric vector

threads

Number of parallel threads

...

Additional arguments passed to writeRaster


mqueinnec/RMFinventory documentation built on May 4, 2021, 10:45 a.m.