Learn R Programming

editrules (version 2.0-3)

isObviouslyRedundant: Find obvious redundancies in set of edits

Description

Find obvious redundancies in set of edits

Lower-level method, to be called directly from internal functions of the editrules package.

Normalizes the editmatrix if necessary, converts it and passes it to the matrix method. All options of the matrix method may be passed. Obvious redundancies, amounting to statements as 0==0 or 0 < 1 will be detected, as well as duplicates.

Check if any of the variables has FALSE for every category (a record can never be contained in such a set).

Usage

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

## S3 method for class 'matrix': isObviouslyRedundant(E, duplicates = TRUE, operators, tol = sqrt(.Machine$double.eps), duplicates.tol = tol, ...)

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

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

Arguments

E
Augmented matrix A|b, editmatrix
duplicates
logical: check for duplicate edits?
...
parameters to be passed to or from other methods.
operators
character vecor of comparison operators in <, <="," ==" of length nrow(E)
tol
tolerance to check for zeros.
duplicates.tol
tolerance for duplicate search

Value

  • logical vector indicating which edits are (obviously) redundant

See Also

isObviouslyRedundant, isObviouslyRedundant.editmatrix