calc.multiple-method: perform calculations on multiple objects depending on...

Description Usage Arguments Value Note Author(s)

Description

perform calculations on multiple objects depending on argument type

Usage

1
2
3
4
calc.multiple(type, input)

## S4 method for signature 'character,list'
calc.multiple(type, input)

Arguments

type

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

  • makePartitions: information on subtables required for HITAS and HYPECUBE algorithms

  • makeAttackerProblem: set up the attackers problem for a given (sub)table

  • calcFullProblem: calculate a complete problem object containing all information required to solve the secondary cell suppression problem

input

a list depending on argument type with two elements "objectA" and "objectB"

  • if type matches 'makePartitions':

    • "object A": a problemInstance object

    • "object B": a dimInfo object

  • if type matches 'makeAttackerProblem':

    • "object A": a sdcProblem object

    • "object B": ignored

  • type matches 'calcFullProblem'

    • "object A": a dataObj object

    • "object B": a dimInfo object

Value

manipulated data based on argument type

Note

internal functions/methods

Author(s)

Bernhard Meindl bernhard.meindl@statistik.gv.at


sdcTable documentation built on Sept. 30, 2021, 5:10 p.m.