Flowmatrix: Generates a flow matrix for an inverse (foodweb) problem

View source: R/Flowmatrix.R

FlowmatrixR Documentation

Generates a flow matrix for an inverse (foodweb) problem

Description

Given a linear inverse model food web input list, generates a flow matrix, that contains the values of flows

Usage

Flowmatrix(lim, web = NULL)

Arguments

lim

a list that contains the linear inverse model specification, as generated by function setup.limfile.

web

the solved (food) web problem, i.e. the values of the unknowns; if not specified, the model is solved first, using Lsei

Value

the flow matrix, containing the magnitude of the flows.

The value on row i and column j is the flow *from* i and *to* j

Author(s)

Karline Soetaert <karline.soetaert@nioz.nl>

See Also

plotweb from package diagram, which takes as input the flow matrix and plots the food web

Examples

Flowmatrix(LIMRigaAutumn)

LIM documentation built on May 11, 2022, 5:05 p.m.

Related to Flowmatrix in LIM...