anom {imageData}R Documentation

Tests if any values in a vector are anomalous in being outside specified limits

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

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

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

[Package imageData version 0.1-62 Index]