sdcTable (version 0.20.5)

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

Description

perform calculations on linProb-objects depending on argument type

Usage

calc.linProb(object, type, input)

## S3 method for class '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 argumenttypematches 'solveProblem
    • a numeric vector of indices if argumenttypematches 'fixVariables'