Description Usage Arguments Value
Apply LDA to raster stack
1 | lda_raster(x, y, nsamples = 200, ncores, filename = NULL, ...)
|
x |
Raster stack of predictors |
y |
Raster layer with dependent categorical variable |
nsamples |
Number of samples to use for calculation of LDA |
ncores |
Number of cores to use |
filename |
Optional. filename for writing raster to disk. |
... |
arguments passed on to PCA function |
A list with 1) the raster stack with the LDA components and 2) the LDA object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.