| plot.som_evaluate_cluster {sits} | R Documentation |
Plot a bar graph with informations about each cluster. The percentage of mixture between the clusters.
## S3 method for class 'som_evaluate_cluster' plot(x, y, ..., name_cluster = NULL, title = "Confusion by cluster")
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"". |
The plot itself.
Lorena Santos lorena.santos@inpe.br
## 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)