Learn R Programming

sybil (version 1.1.2)

printObjFunc: Prints a Human Readable Objective Function

Description

The function printObjFunc prints the objective function of a model in a human readable format.

Usage

printObjFunc(model)

Arguments

model
An object of class modelorg

Value

  • Returns a character vector containing the objective function.

encoding

utf8

See Also

changeObjFunc

Examples

Run this code
data(Ec_core)
  printObjFunc(Ec_core)

  ## with a different objective function than the default one
  ## just to illustrate how the function works ;-)
  Ec_objf <- changeObjFunc(Ec_core, c("EX_etoh(e)", "ETOHt2r"), c(1, 2))
  printObjFunc(Ec_objf)

Run the code above in your browser using DataLab