Check which points are spatial dataset outliers.
check_outliers_species(data, report = FALSE, mad_coef = 6, iqr_coef = 3)
data | The data frame with decimalLongitude, decimalLatitude and scientificNameID columns. |
---|---|
report | If TRUE, errors are returned instead of records. |
mad_coef | Coefficient to multiply the median absolute deviation (MAD)
by in order to determine the range of valid values. Default is |
iqr_coef | Coefficient to multiply the interquartile range (IQR) by in
order to determine the range of valid values. Default values is |
Problematic records or an errors report.
plot_outliers
check_outliers_dataset
check_onland
check_depth
# NOT RUN { notok <- check_outliers_species(abra, report = FALSE) print(nrow(notok)) r <- check_outliers_species(abra, report = TRUE, mad_coef = 3, iqr_coef = 1.5) print(r) plot_map_leaflet(abra[r$row,], popup = "id") plot_outliers(r) # }