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").
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)
}