Learn R Programming

⚠️There's a newer version (0.6.1) of this package.Take me there.

validatetools (version 0.5.2)

Checking and Simplifying Validation Rule Sets

Description

Rule sets with validation rules may contain redundancies or contradictions. Functions for finding redundancies and problematic rules are provided, given a set a rules formulated with 'validate'.

Copy Link

Version

Install

install.packages('validatetools')

Monthly Downloads

205

Version

0.5.2

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Edwin Jonge

Last Published

September 30th, 2023

Functions in validatetools (0.5.2)

validatetools

Tools for validation rules
is_linear

Check which rules are linear rules.
translate_mip_lp

translate linear rules into an lp problem
substitute_values

substitute a value in a rule set
detect_boundary_cat

Detect viable domains for categorical variables
expect_values

expect values
is_categorical

Check if rules are categorical
detect_boundary_num

Detect the range for numerical variables
detect_redundancy

Detect redundant rules without removing.
detect_infeasible_rules

Detect which rules cause infeasibility
detect_fixed_variables

Detect fixed variables
simplify_conditional

Simplify conditional statements
remove_redundancy

Remove redundant rules
make_feasible

Make an infeasible system feasible.
cat_coefficients

Get coefficient matrix from categorical rules
is_contradicted_by

Find out which rules are conflicting
is_implied_by

Find which rule(s) make rule_name redundant
is_conditional

Check if rules are conditional rules
cat_as_mip_rules

get categorical rules as mip_rules
is_infeasible

Check the feasibility of a rule set
mip_rule

Create a rule used by mip
simplify_rules

Simplify a rule set
simplify_fixed_variables

Simplify fixed variables