Learn R Programming

editrules (version 2.5-0)

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 class 'editmatrix': isObviouslyRedundant(E, duplicates = TRUE, ...)

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

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

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

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

Arguments

duplicates
logical: check for duplicate edits? For an editset, editlist or editenv
...
parameters to be passed to or from other methods.

Value

  • logical vector indicating which edits are (obviously) redundant

See Also

isObviouslyInfeasible, isSubset