Description Usage Arguments Value See Also Examples
View source: R/check_outliers.R
Check which points are spatial dataset outliers.
1 2 3 | check_outliers_dataset(data, report = FALSE, mad_coef = 6, iqr_coef =
3)
|
data |
The data frame with decimalLongitude and decimalLatitude 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_species
check_onland
check_depth
1 2 3 4 5 6 7 8 9 | ## Not run:
ok <- check_outliers_dataset(abra, report = FALSE)
print(nrow(ok))
r <- check_outliers_dataset(abra, report = TRUE, mad_coef = 3, iqr_coef = 1.5)
print(r)
plot_map_leaflet(abra[r$row,], popup = "id")
plot_outliers(r)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.