inverse matrices and vectors A, b of the
equalities
Ax=b
inverse matrices and vectors G, h of the
inequalities
Gx>=h
if present, also writes the cost/profit function
Usage
PrintMat(lim)
Arguments
lim
a list that contains the linear inverse model
specification, as generated by function setup.limfile.
Value
returns nothing.
Author(s)
Karline Soetaert <karline.soetaert@nioz.nl>
Examples
PrintMat(LIMBlending)
Results
R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(LIM)
Loading required package: limSolve
Loading required package: diagram
Loading required package: shape
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/LIM/PrintMat.Rd_%03d_medium.png", width=480, height=480)
> ### Name: PrintMat
> ### Title: Writes linear inverse matrices to the screen
> ### Aliases: PrintMat
> ### Keywords: IO utilities
>
> ### ** Examples
>
> PrintMat(LIMBlending)
[1] "A,B"
PINGREDIENT1 PINGREDIENT2 PFILLER B =
Balance -1 -1 -1 -1
[1] "G,H"
PINGREDIENT1 PINGREDIENT2 PFILLER H =
NutrientA 100 200 0 80
NutrientB 50 150 0 50
NutrientC 40 10 0 25
NutrientD 10 0 0 5
[1] "Cost"
PINGREDIENT1 PINGREDIENT2 PFILLER
cost1 40 60 0
>
>
>
>
>
> dev.off()
null device
1
>