Learn R Programming

sdcTable (version 0.29)

calc.multiple: perform calculations on multiple objects depending on argument type

Description

perform calculations on multiple objects depending on argument type

Usage

calc.multiple(type, input)

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

Arguments

type

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

input

a list depending on argument type.

Value

manipulated data based on argument type

  • list with elements 'groups', 'indices', 'strIDs', 'nrGroups' and 'nrTables' if argument type matches 'makePartitions'

  • object of class simpleTriplet if argument type matches 'genMatMFull'

  • object of class linProb if argument type matches 'makeAttackerProblem'

  • object of class sdcProblem if argument type matches 'calcFullProblem'