Learn R Programming

editrules (version 2.2-0)

reduce: Remove empty rows and variables from set of edits

Description

If E is an editmatrix all rows and columns containing only zeros are removed. If E is an editarray all variables not contained in any edit are removed. rows which have FALSE in every category of any variable are removed as well (these rows have isObviouslyRedundant equal to TRUE).

Usage

reduce(E, ...)

## S3 method for class 'editmatrix': reduce(E, tol = sqrt(.Machine$double.eps), ...)

## S3 method for class 'editarray': reduce(E, ...)

## S3 method for class 'editset': reduce(E, ...)

Arguments