pkgdown/mathjax-config.html

Skip to contents

Validates that all values in a column fall within a specified range.

Usage

require_col_between(
  restriction,
  col,
  lower = -Inf,
  upper = Inf,
  exclusive_lower = FALSE,
  exclusive_upper = FALSE
)

Arguments

restriction

a restriction object.

col

character(1) column name.

lower

numeric(1) lower bound (default -Inf).

upper

numeric(1) upper bound (default Inf).

exclusive_lower

logical; if TRUE, lower bound is exclusive.

exclusive_upper

logical; if TRUE, upper bound is exclusive.

Value

The modified restriction object.