maxA: A filter function to filter according to the maximum.

View source: R/all.R

maxAR Documentation

A filter function to filter according to the maximum.

Description

maxA returns a function with the parameter A bound. The returned function evaluates to TRUE if any element of its argument is larger than A.

Usage

maxA(A=75, na.rm=TRUE)

Arguments

A

The value that at least one element must exceed.

na.rm

If TRUE then NA's are removed.

Value

maxA returns a function with an environment containing a binding for A.

Author(s)

R. Gentleman

See Also

pOverA

Examples

   ff <- maxA(30)
   ff(1:10)
   ff(28:31)

Bioconductor/genefilter documentation built on Nov. 2, 2024, 7:24 a.m.