Learn R Programming

sdcTable (version 0.22.4)

calc.linProb: perform calculations on

Description

perform calculations on linProb-objects depending on argument type

Usage

calc.linProb(object, type, input)

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

Arguments

object
an object of class linProb
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 containing the solution and additional information if argument type matches 'solveProblem
  • a numeric vector of indices if argument type matches 'fixVariables'