View source: R/regionalization.R
| regionalization | R Documentation | 
Perform an unspervised clustering of a SpatRaster
regionalization(x, centers, iter.max = 100, nstart = 100, algorithm = "Lloyd")
| x | SpatRaster | 
| 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. | 
| algorithm | Default Lloyd. | 
a list with:
A list with the results of the K-means performance
A SpatRaster with the final regionalization
A list with the results of the K-means performance
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.