R: Plot confusion between clusters

plot.som_evaluate_cluster {sits} | R Documentation

## Plot confusion between clusters

### Description

Plot a bar graph with informations about each cluster. The percentage of mixture between the clusters.

### Usage

    ## S3 method for class 'som_evaluate_cluster'
    plot(x, y, ..., name_cluster = NULL, title = "Confusion by cluster")

### Arguments

`x` | object of class "plot.som_evaluate_cluster"
`y` | ignored
`...` | further specifications for plot.
`name_cluster` | Choose the cluster to plot
`title` | title of plot. default is ""Confusion by cluster"".

### Value

The plot itself.

### Author(s)

Lorena Santos lorena.santos@inpe.br

### Examples

    ## Not run:
    # Produce a cluster map

    samples_mt_2bands <- sits_select(samples_modis_4bands, bands = c("NDVI", "EVI"))
    som_map <- sits_som_map(samples_mt_2bands)
    # Evaluate the clusters
    cluster_overall <- sits_som_evaluate_cluster(som_map)
    # Plot confusion between the clusters
    plot(cluster_overall)

    ## End(Not run)

[Package sits version 0.16.2 Index]