In range

in_range(x, a, b)

Arguments

x, a, b

Inputs

Examples

library(dplyr)
#> #> Attaching package: 'dplyr'
#> The following object is masked from 'package:pkgdown.masking': #> #> between
#> The following objects are masked from 'package:stats': #> #> filter, lag
#> The following objects are masked from 'package:base': #> #> intersect, setdiff, setequal, union
in_range(1, 0, 2)
#> [1] TRUE