sc_cols_bounded_above {sanityTracker}R Documentation

Checks that all elements from the given columns are below a certain number

Description

Checks that all elements from the given columns are below a certain number

Usage

sc_cols_bounded_above(
  object,
  cols,
  upper_bound,
  include_upper_bound = TRUE,
  ...
)

Arguments

object

table with a columns specified by cols

cols

vector of characters of columns that are checked against the specified range

upper_bound

elements of the specified columns must be below this bound

include_upper_bound

if TRUE (default), elements are allowed to be equal to the upper_bound

...

further parameters that are passed to add_sanity_check.

Value

list of logical vectors where TRUE indicates where the check failed. Every list entry represents one of the columns specified in cols. This might be helpful if one wants to apply a counter-measure


[Package sanityTracker version 0.1.0 Index]