Learn R Programming

sits (version 1.5.2)

plot.som_clean_samples: 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 som_clean_samples
plot(x, ...)

Value

Called for side effects.

Arguments

x

Object of class "som_clean_samples".

...

Further specifications for plot.

Author

Estefania Pizarro, eapizarroa@ine.gob.cl

Examples

Run this code
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)
}

Run the code above in your browser using DataLab