Learn R Programming

sdcTable (version 0.29)

calc.cutList: perform calculations on cutList-objects depending on argument type

Description

perform calculations on cutList-objects depending on argument type

Usage

calc.cutList(object, type, input)

# S4 method for cutList,character,list calc.cutList(object, type, input)

Arguments

object

an object of class cutList

type

a character vector of length 1 defining what to calculate|return|modify. Allowed types are:

input

a list depending on argument type.

Value

manipulated data based on argument type

  • an object of class cutList if argument type matches 'strengthen' or 'bindTogether'

  • a logical vector of length 1 if argument type matches 'checkViolation' with TRUE if at least one constraint is violated by the given solution