between: Tests whether elements of a vector lie between two values...

Description Usage Arguments Value See Also Examples

View source: R/util.R

Description

Tests whether elements of a vector lie between two values (inclusively)

Usage

1
between(x, left, right)

Arguments

x

Values to test

left

Left value

right

Right value

Value

x >= left & x <= right

See Also

Other utility functions: cumall, cumany, cummean, distribute, first, lag, last, lead, n_distinct, n_groups, nth, n

Examples

1
2
3
between (5, 1, 10)
between (11, 1, 10)
between (-5, -10, 0)

multiplyr documentation built on May 30, 2017, 12:09 a.m.