sdcTable (version 0.20.5)

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)

## S3 method for class '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 argumenttypematches 'makePartitions'
    • object of classsimpleTripletif argumenttypematches 'genMatMFull'
    • object of classlinProbif argumenttypematches 'makeAttackerProblem'
    • object of classsdcProblemif argumenttypematches 'calcFullProblem'