init.cutList | R Documentation |
cutList
-objects depending on argument type
initialize cutList
-objects depending on argument type
init.cutList(type, input)
## S4 method for signature 'character,list'
init.cutList(type, input)
type |
a character vector of length 1 defining what|how to initialize. Allowed types are: |
empty: create an empty cutList
-object
singleCut: create a cutList
-object with exactly one constraint
multipleCuts: 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
an object of class cutList
internal function
Bernhard Meindl bernhard.meindl@statistik.gv.at
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.