is_rare_in: Check if this atomic vector is NA or less than a specified...

Description Usage Arguments Value See Also

Description

is_rare_in outputs a logical vector indicating which elements have a value less than or equal to the specified threshold, or are unavailable.

Usage

1
is_rare_in(vec, thr)

Arguments

vec

A numeric atomic vector.

thr

The threshold.

Value

a logical vector with length equal to length(vec).

See Also

base::Logic. ## Not run: big_logical_vec <- is_rare_in(vec = vars$aaf.1KG, thr = 0.05) ## End(Not run)


bahlolab/varpr documentation built on May 11, 2019, 5:26 p.m.