Learn R Programming

sdcTable (version 0.32.2)

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

Description

modify problemInstance-objects depending on argument type

Usage

set.problemInstance(object, type, input)

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

Value

an object of class problemInstance

Arguments

object

an object of class problemInstance

type

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

  • lb: set assumed to be known lower bounds

  • ub: set assumed to be upper lower bounds

  • LPL: set lower protection levels

  • UPL: set upper protection levels

  • SPL: set sliding protection levels

  • sdcStatus: change anonymization status

input

a list with elements 'indices' and 'values'.

  • element 'indices': numeric vector defining the indices of the cells that should be modified

  • element 'values': numeric vector whose values are going to replace current values for cells defined by 'indices' depending on argument type

Author

Bernhard Meindl bernhard.meindl@statistik.gv.at