Learn R Programming

sdcTable (version 0.29)

calc.problemInstance: perform calculations on problemInstance-objects depending on argument type

Description

perform calculations on problemInstance-objects depending on argument type

Usage

calc.problemInstance(object, type, input)

# S4 method for problemInstance,character,list calc.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:

input

a list depending on argument type.

Value

information from objects of class problemInstance depending on argument type

  • an object of class linProb if argument type matches 'makeMasterProblem'

  • logical vector of length 1 if argument type matches 'isProtectedSolution' with TRUE if all primary suppressed cells are adequately protected, FALSE otherwise