anom

0th

Percentile

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

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.

Keywords
manip, data
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.

Aliases
  • anom
Examples
# NOT RUN {
data(exampleData)
anom.val <- anom(longi.dat$Area.smooth.AGR, lower=2.5)
# }
Documentation reproduced from package growthPheno, version 1.0-13, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.