Learn R Programming

sdcTable (version 0.32.2)

set.cutList: modify cutList-objects depending on argument type

Description

modify cutList-objects depending on argument type

Usage

set.cutList(object, type, input)

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

Value

an object of class cutList

Arguments

object

an object of class cutList

type

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

  • addCompleteConstraint: add a constraint to argument object

  • removeCompleteConstraint: remove a constraint from argument object

input

a list depending on argument type.

  • type==addCompleteConstraint: a list of length 1

    • first element: an object of class cutList with exactly one constraint

  • type==removeCompleteConstraint: a list of length 1

    • first element: numeric vector of length 1 specifying the index of the constraint that should be removed

Author

Bernhard Meindl bernhard.meindl@statistik.gv.at