Description Usage Arguments Value
View source: R/regionalization.R
Perform an unspervised clustering of the Raster Stack
1 | regionalization(raststack, centers, iter.max = 100, nstart = 100)
|
raststack |
Raster Stack. |
centers |
Integer. Number of clusters. |
iter.max |
Integer. The maximum number of iterations allowed. Default 100. |
nstart |
Integer. How many random sets should be chosen? Default 100. |
a list with:
A raster with the final regionalization
A list with the results of the K-means performance
A raster displaying a pseudo-MAE error based on the difference between each pixel value and its respective centroide
A numeric pseudo-MAE mean value for the entire map
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.