Learn R Programming

editrules (version 2.2-0)

contains: determine which edits in an editmatrix contain a variable.

Description

For an editmatrix, variables with coefficients smaller than tol are considered not to be contained in an edit.

matrix method for contains

editmatrix method for contains

contains method for editarray

contains method for editset

Usage

contains(E, var = NULL, ...)

## S3 method for class 'matrix': contains(E, var = NULL, tol = sqrt(.Machine$double.eps), ...)

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

## S3 method for class 'editarray': contains(E, var = NULL, ...)

## S3 method for class 'editset': contains(E, var = NULL, ...)

Arguments

Value

logical vector of length nrow(E), TRUE for edits containing var