isObviouslyRedundant: Find obvious redundancies in set of edits

Description Usage Arguments Value See Also

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
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

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.

Value

logical vector indicating which edits are (obviously) redundant

See Also

isObviouslyInfeasible, isSubset


editrules documentation built on May 1, 2019, 6:32 p.m.