Learn R Programming

sits (version 1.12.0)

sits_plot_kohonen: Plot the SOM grid with neurons labeled

Description

Given a kohonen object with a set of time neurons, plot them.

The plot function produces different plots based on the input data:

  • "codes": Plot in each neuron the vector weight which corresponds to it.

  • "mapping": Shows where samples are mapped.

Function sits_plot_kohonen plots a classified kohonen map. A set of neurons with same category corresponds to a same cluster.

Usage

sits_plot_kohonen(koh, type = "codes")

Arguments

koh

Data to be plotted (must be a kohonen object).

type

Type of plot. "codes" is the weight of neuron (time series) and "mapping" is the number of samples allocated in a neuron.