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

set.sdcProblemR Documentation

modify sdcProblem-objects depending on argument type

Description

modify sdcProblem-objects depending on argument type

Usage

set.sdcProblem(object, type, input)

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

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'

Value

an object of class sdcProblem

Note

internal function

Author(s)

Bernhard Meindl bernhard.meindl@statistik.gv.at


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