Description Usage Arguments Details Value Examples
Search for outliers in the field data
1 | fb_outliers(fbt, traits, max.sd = 3)
|
fbt |
A Field Book Table object. |
traits |
A |
max.sd |
A |
Outliers are defined as observations that are outside of a specified boundary
as determined by the sample mean μ and standard deviation s
.
The lower limit of this boundary is μ - (\code{max.sd} * s) and
the upper limit is μ + (\code{max.sd} * s).
The function prints a summary that includes the trait, sample mean, sample standard deviation, number of missing data points, and the upper and lower bounds of the outlier cutoff. Finally, the function prints the row from the fbt object in which the outlier was identified.
A list of length n
, where n
is the number of traits. Each list
element is a data.frame containing the outliers.
1 2 3 | data("fbt_sample")
outliers <- fb_outliers(fbt = fbt_sample, traits = "OneOutlier", max.sd = 3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.