plot.som_map: Generic interface for plotting a SOM map

Description Usage Arguments Author(s) Examples

View source: R/sits_plot.R

Description

plots a SOM map generated by "sits_som_map" The plot function produces different plots based on the input data:

Usage

1
2
## S3 method for class 'som_map'
plot(x, y, ..., type = "codes", whatmap = 1)

Arguments

x

Object of class "som_map"

y

Ignored

...

Further specifications for plot.

type

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

whatmap

What data layer will be plotted.

Author(s)

Gilberto Camara, gilberto.camara@inpe.br

Examples

1
2
3
4
5
6
# Produce a cluster map
som_cluster <- sits_som_map(prodes_226_064)
# Plot the clusters
plot(som_cluster, type = "codes")
# Plot kohonen map showing where the samples were allocated
plot(som_cluster, type = "mapping")

e-sensing/sits.data documentation built on Dec. 26, 2019, 11:02 p.m.