R package for parsing and manipulating edit rules


[Up] [Top]

Documentation for package ‘editrules’ version 1.8-1

Help Pages

editrules-package Facilitates reading and manipulation of linear (in)equalities, converting them into matrix format (and vice versa) and checking if data are valid according to these rules. Sets of linear edits can be manipulated using Fourier-Motzkin elimination and variable substitution and solving error localization problems based on the generalized principle of Felligi and Holt.
adjacency Derive adjecency matrix from set of edits
adjacency.editarray Derive adjecency matrix from set of edits
adjacency.editmatrix Derive adjecency matrix from set of edits
as.character.editarray Coerce an editarray to 'character'
as.character.editmatrix Coerce an editmatrix to a 'character' vector
as.data.frame.editarray Coerce an editarray to a 'data.frame'
as.data.frame.editmatrix Coerce an editmatrix to a 'data.frame'
as.data.frame.violatedEdits as.data.frame violatedEdits
as.editmatrix Coerce a matrix to an edit matrix.
as.expression.editmatrix Coerce an editmatrix to R expressions
as.igraph Derive adjecency matrix from set of edits
as.igraph.editarray Derive adjecency matrix from set of edits
as.igraph.editmatrix Derive adjecency matrix from set of edits
as.matrix.editarray Coerce an editarray to a boolean matrix
as.matrix.editmatrix Coerce an editmatrix to a normal matrix
backtracker Backtracker: a flexible and generic binary search program
blocks Break a matrix into blocks
checkRows Check rows of data.frame against edits.
checkRows.character Check rows of data.frame against edits.
checkRows.data.frame Check rows of data.frame against edits.
checkRows.editmatrix Check rows of data.frame against edits.
choicepoint Backtracker: a flexible and generic binary search program
contains determine which edits in an editmatrix contain a variable.
datamodel Summarize data model of an editarray in a data.frame
echelon Bring an (edit) matrix to reduced row echelon form.
echelon.editmatrix Bring an (edit) matrix to reduced row echelon form.
echelon.matrix Bring an (edit) matrix to reduced row echelon form.
editarray Parse textual, categorical edit rules to an editarray
editmatrix Create an editmatrix
editrules Retrieve readables editrules from an editmatrix
edits Example editrules, used in vignette
editTypes basic test for type of edit
eliminate eliminate a variable from a set of edit rules
eliminate.editarray eliminate a variable from a set of edit rules
eliminate.editmatrix eliminate a variable from a set of edit rules
errorLocalizer Localize errors in numerical data based on the paradigm of Fellegi and Holt.
errorLocalizer.editarray Localize errors in numerical data based on the paradigm of Fellegi and Holt.
errorLocalizer.editmatrix Localize errors in numerical data based on the paradigm of Fellegi and Holt.
errorLocation The errorLocation object
findBlocks Break a matrix into blocks
getA Returns the coefficient matrix 'A' of linear (in)equalities
getAb Returns augmented matrix representation of edit set.
getb Returns the constant part 'b' of a linear (in)equality
getH Returns the derivation history of an edit matrix or array
geth Returns the derivation history of an edit matrix or array
getOps Returns the operator part of a linear (in)equality 'editmatrix' E
getVars get names of variables in a set of edits
is.editarray check if an object is an editarray
is.editmatrix Check if object is an editmatrix
isFeasible Check consistency of edit set
isNormalized Check if an editmatrix is normalized
isObviouslyInfeasible Check for obviously infeasible edit rules
isObviouslyInfeasible.editarray Check for obviously infeasible edit rules
isObviouslyInfeasible.editmatrix Check for obviously infeasible edit rules
isObviouslyRedundant Find obvious redundancies in set of edits
isObviouslyRedundant.editarray Find obvious redundancies in set of edits
isObviouslyRedundant.editmatrix Find obvious redundancies in set of edits
isObviouslyRedundant.matrix Find obvious redundancies in set of edits
isSubset Check if any edit rule is a subset of another one
iter.backtracker iterate over all solutions of a 'backtracker'
listViolatedEdits Lists which rows of 'data.frame dat' violate which constraints
localizeErrors Localize errors on records in a data.frame.
neweditmatrix Create an 'editmatrix' object from its constituing attributes.
normalize Normalizes an editmatrix
parseEdits Parse a character vector of edits
plot.editarray Graphical representation of editmatrix
plot.editmatrix Graphical representation of editmatrix
plot.errorLocation plot errorLocation object
plot.violatedEdits Plot summary statistics on violatedEdits
print.backtracker print a backtracker
print.errorLocation Print object of class errorLocation
print.violatedEdits Print violatedEdits
reduce Remove empty rows and variables from set of edits
reduce.editarray Remove empty rows and variables from set of edits
reduce.editmatrix Remove empty rows and variables from set of edits
str.editmatrix 'str' method for editmatrix object
substValue Replace a variable by a value in a set of edits.
substValue.editarray Replace a variable by a value in a set of edits.
substValue.editmatrix Replace a variable by a value in a set of edits.
summary.editarray Summarize
summary.editmatrix Summarize
summary.errorLocation Summarize
summary.violatedEdits Summary statistics on violatedEdits
violatedEdits Retrieve which rows of 'data.frame dat' violate which constraints
violatedEdits.character Retrieve which rows of 'data.frame dat' violate which constraints
violatedEdits.data.frame Retrieve which rows of 'data.frame dat' violate which constraints
violatedEdits.editarray Retrieve which rows of 'data.frame dat' violate which constraints
violatedEdits.editmatrix Retrieve which rows of 'data.frame dat' violate which constraints
[.editarray Row index operator for 'editmatrix'
[.editmatrix Row index operator for 'editmatrix'