anom: Tests if any values in a vector are anomalous in being...

Description Usage Arguments Value Author(s) Examples

Description

Test whether any values in x are less than the value of lower, if it is not NULL, or are greater than the value of upper, if it is not NULL, or both.

Usage

1
anom(x, lower=NULL, upper=NULL, na.rm = TRUE)

Arguments

x

A vector containing the values to be tested.

lower

A numeric such that values in x below it are considered to be anomalous.

upper

A numeric such that values in x above it are considered to be anomalous.

na.rm

A logical indicating whether NA values should be stripped before the testing proceeds.

Value

A logical indicating whether any values have been found to be outside the limits specified by lower or upper or both.

Author(s)

Chris Brien

Examples

1
2
data(exampleData)
anom.val <- anom(longi.dat$Area.smooth.AGR, lower=2.5)

growthPheno documentation built on Oct. 14, 2021, 5:07 p.m.