Perform an unspervised clustering of the Raster Stack
regionalization(raststack, centers, iter.max = 100, nstart = 100)
Raster Stack.
Integer. Number of clusters.
Integer. The maximum number of iterations allowed. Default 100.
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