RDocumentation
Moon
Learn R
Search all packages and functions
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
Copy
Link to current version
Version
Version
0.5.2
0.5.0
0.4.7
0.4.6
0.4.3
Down Chevron
Install
install.packages('validatetools')
Monthly Downloads
251
Version
0.5.2
License
MIT + file LICENSE
Issues
6
Pull Requests
0
Stars
16
Forks
3
Repository
https://github.com/data-cleaning/validatetools
Maintainer
Edwin Jonge
Last Published
September 30th, 2023
Functions in validatetools (0.5.2)
Search functions
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