Learn R Programming

LIM (version 1.4.7.1)

Flowmatrix: 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)

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

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

Author

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

Run this code
Flowmatrix(LIMRigaAutumn)

Run the code above in your browser using DataLab