prop_thres: Proportion of elements of a vector below a threshold

Description Usage Arguments Examples

View source: R/prop_thres.R

Description

Proportion of elements of a vector below a threshold

Usage

1
prop_thres(x, thres, above = FALSE)

Arguments

x

vector

thres

threshold

above

logical: should the function calculate the proportion above the threshold?

Examples

1
prop_thres(x = 1:10, thres = 3, above = FALSE)

dougmcneall/imptools documentation built on Nov. 13, 2021, 7:12 p.m.