Learn R Programming

sdcTable (version 0.32.6)

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

Description

modify sdcProblem-objects depending on argument type

Usage

set.sdcProblem(object, type, input)

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

Value

an object of class sdcProblem

Arguments

object

an object of class sdcProblem

type

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

  • problemInstance: set|modify slot 'problemInstance' of argument object

  • partition: set|modify slot 'partition' of argument object

  • startI: set|modify slot 'startI' of argument object

  • startJ: set|modify slot 'startJ' of argument object

  • indicesDealtWith: set|modify slot 'indicesDealtWith' of argument object

input

a list with elements depending on argument type.

  • an object of class problemInstance if argument type matches 'problemInstance'

  • a list (derived from calc.multiple(type='makePartition', ...) if argument type matches 'partition'

  • a numeric vector of length 1 if argument type matches 'startI' or 'startJ'

  • a numeric vector if argument type matches 'indicesDealtWith'

Author

Bernhard Meindl bernhard.meindl@statistik.gv.at