Learn R Programming

sits (version 1.12.0)

sits_kohonen: Clustering a set of satellite image time series using SOM

Description

This function uses package self-organized maps to find clusters in satellite image time series to cluster samples.

Usage

sits_kohonen(data.tb, time_series, bands = NULL, grid_xdim = 25,
  grid_ydim = 25, rlen = 100, dist.fcts = "euclidean", alpha = 1,
  neighbourhood.fct = "bubble", ...)

Arguments

data.tb

A tibble with samples to be clustered.

time_series

Time series extracted from tibble data.

bands

Bands to be clustered.

grid_xdim

X dimension of the SOM grid (default = 5).

grid_ydim

Y dimension of the SOM grid.

rlen

Number of times the complete data set will be presented to the SOM grid

dist.fcts

The similiraty measure (distance).

alpha

Learning rate, a vector of two numbers indicating the amount of change.

neighbourhood.fct

Type of neighbourhood function (bubble or gaussian).

...

Additional parameters to be passed to kohonen::supersom function.

Value

A tibble with the clusters time series or cluster' members time series according to return_member parameter. If return_members are FALSE, the returning tibble will contain a new collumn called `n_members` informing how many members has each cluster.

References

`kohonen` package (https://CRAN.R-project.org/package=kohonen)