plot.som_clean_samples: Plot SOM samples evaluated

View source: R/sits_plot.R

plot.som_clean_samplesR Documentation

Plot SOM samples evaluated

Description

It is useful to visualise the output of the SOM evaluation, which classifies the samples as "clean" (good samples), "remove" (possible outliers), and "analyse" (borderline cases). This function plots the percentual distribution of the SOM evaluation per class. To use it, please run sits_som_clean_samples using the parameter "keep" as "c("clean", "analyze", "remove").

Usage

## S3 method for class 'som_clean_samples'
plot(x, ...)

Arguments

x

Object of class "som_clean_samples".

...

Further specifications for plot.

Value

Called for side effects.

Author(s)

Estefania Pizarro, eapizarroa@ine.gob.cl

Examples

if (sits_run_examples()) {
    # create a SOM map
    som_map <- sits_som_map(samples_modis_ndvi)
    # plot the SOM map
    eval <- sits_som_clean_samples(som_map)
    plot(eval)
}

e-sensing/sits documentation built on Feb. 13, 2025, 2:22 a.m.