View source: R/get_Flowmatrix.R
getFlowMatrix | R Documentation |
This function extracts flow data from the LIM and produces a Flowmatrix i.e. flows from sources in rows to the sinks in columns.
getFlowMatrix(readLIM, web = NULL, lim = NULL, verbose = TRUE)
readLIM |
(required) A linear inverse model read into the R environment with the R-package LIM.
Can be achieved with |
web |
(optional) The solved (food) web problem, i.e. the values of the unknowns; if not specified, the model is solved first, using Ldei. |
lim |
(optional) The set-up linear problem.
Can be achieved with |
verbose |
(optional) Should the function provide messages? |
This function is an adapted version of the Flowmatrix
function from the LIM package.
The major difference is that this function also provides the right answer if multiple parallel flows occur
between the same two compartments.
Returns a named numeric matrix.
LIM
package, Soetaert & van Oevelen 2015.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.