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

Description Usage Arguments Value Author(s) See Also Examples

View source: R/all.R

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

1
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

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

genefilter documentation built on Jan. 23, 2021, 2:01 a.m.