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

set.problemInstanceR Documentation

modify problemInstance-objects depending on argument type

Description

modify problemInstance-objects depending on argument type

Usage

set.problemInstance(object, type, input)

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

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

Value

an object of class problemInstance

Note

internal function

Author(s)

Bernhard Meindl bernhard.meindl@statistik.gv.at


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