Learn R Programming

synoptReg (version 1.2.1)

regionalization: Environmental regionalization

Description

Perform an unspervised clustering of the Raster Stack

Usage

regionalization(raststack, centers, iter.max = 100, nstart = 100)

Arguments

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.

Value

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