init.cutList {sdcTable} | R Documentation |
initialize cutList
-objects depending on argument type
Description
initialize cutList
-objects depending on argument type
Usage
init.cutList(type, input)
## S4 method for signature 'character,list'
init.cutList(type, input)
Arguments
type |
a character vector of length 1 defining what|how to initialize. Allowed types are: |
empty: create an empty
cutList
-objectsingleCut: create a
cutList
-object with exactly one constraintmultipleCuts: create a
cutList
-object with more than one constraint
input |
a list depending on argument |
type==empty: input is not used (empty list)
type==singleCut: input is a list of length 3
first element: numeric vector specifying a values for the row of the constraint matrix that must be created
second element: character vector of length 1 specifying the direction
third element: numeric vector of length 1 specifying the right hand side of the constraint
type==multipleCuts: input is a list of length 3
first element: object of class
matrix
second element: character vector specifying the direction of the constraints
third element: numeric vector specifying the right hand side of the constraints
Value
an object of class cutList
Note
internal function
Author(s)
Bernhard Meindl bernhard.meindl@statistik.gv.at