Description Usage Arguments Details Value Examples
View source: R/find_outliers.R
Function to flag sediment outliers based on threshold criteria.
Flags for suspended sediment concentration (P80154), suspended sediment load (P80155), bed and suspended sediment loss on ignition (P00496/00535), and Sand/Silt break (P70331 Suspended sediment, sieve diamter, percent smaller than 0.0625mm)
1 2 3 4 5 6 7 | find_outliers(
x,
site_no = NULL,
lowThreshold = 0.1,
highThreshold = 0.9,
returnAll = FALSE
)
|
x |
A |
site_no |
Character of a site number in the x |
lowThreshold |
numeric value between 0 and 1 indicating the quantile threshold for a low value outlier. |
highThreshold |
numeric value between 0 and 1 indicating the quantile threshold for a high value outlier. |
returnAll |
logical, return dataframe containing all results or only return flagged samples. Defualt is FALSE |
Rejected samples are not included.
A dataframe containing all samples with applicable flags
1 2 3 | data("exampleData",package="sedReview")
x <- exampleData
outliers_05586300 <- find_outliers(x, site_no = "05586300")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.