Skip to contents

vrule_threshold

vrule_threshold

Details

vrule_threshold

Methods

Inherited methods


Method new()

Initializes a threshold validation rule

Usage

vrule_threshold$new(operator, threshold, ...)

Arguments

operator

operator

threshold

threshold

...

any other arg


Method validate()

Validates data based on a threshold

Usage

vrule_threshold$validate(value, ...)

Arguments

value

value

...

any other args

Returns

a validation report, object of class vrule_report


Method clone()

The objects of this class are cloneable with this method.

Usage

vrule_threshold$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.