Learn R Programming

editrules (version 2.9.5)

isObviouslyRedundant: Find obvious redundancies in set of edits

Description

Detect simple redundancies such as duplicates or edits of the form 0 < 1 or 0 == 0. For categorical edits, simple redundancies are edits that define an empty subregion of the space of all possible records (no record can ever be contained in such a region).

Usage

isObviouslyRedundant(E, duplicates = TRUE, ...)

# S3 method for editmatrix isObviouslyRedundant(E, duplicates = TRUE, ...)

# S3 method for editarray isObviouslyRedundant(E, duplicates = TRUE, ...)

# S3 method for editset isObviouslyRedundant(E, duplicates = rep(TRUE, 2), ...)

# S3 method for editlist isObviouslyRedundant(E, duplicates = rep(TRUE, 2), ...)

# S3 method for editenv isObviouslyRedundant(E, duplicates = rep(TRUE, 2), ...)

Value

logical vector indicating which edits are (obviously) redundant

Arguments

E

An editset, editmatrix, editarray, editlist or editenv

duplicates

logical: check for duplicate edits? For an editset, editlist or editenv this should be a logical 2-vector indicating which of the numerical or categorical edits should be checked for duplicates.

...

parameters to be passed to or from other methods.

See Also

isObviouslyInfeasible, isSubset