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

set.cutListR Documentation

modify cutList-objects depending on argument type

Description

modify cutList-objects depending on argument type

Usage

set.cutList(object, type, input)

## S4 method for signature 'cutList,character,list'
set.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:

  • 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

Value

an object of class cutList

Note

internal function

Author(s)

Bernhard Meindl bernhard.meindl@statistik.gv.at


sdcTable documentation built on Aug. 11, 2023, 9:06 a.m.