between_more: Between more

View source: R/between-more.R

between_moreR Documentation

Between more

Description

Additional functionality and expansion of dplyr::between

Usage

between_more(x, left, right, type = c("gele", "gel", "gle", "gl"))

Arguments

x

A numeric vector of values

left, right

Boundary values

type

Abbreviation for the evaluation of left on right (see details)

Details

Type can be one of the below:

g

is greater than (>)

ge

greater than or equal to (>=)

l

less than (<)

ls

less than or equal to (<=)

Value

A logical vector

See Also

dplyr::case_when()

Examples

between_more(10, 2, 10, "gl")
between_more(10, 2, 10, "gle")
between_more(1:5, c(3, 3, 2, 2, 1), 5)

mark documentation built on Oct. 23, 2023, 9:06 a.m.