PackNet: Packing possible LIM networks into a list.

Description Usage Arguments Author(s) Examples

View source: R/PackNet.R

Description

Through the use of certain functions in this package, a list of enaR network objects are created. The output created is a list of network objects ready to be used in enaR. In order to 'pack' an enaR network object, you require a flow matrix of type 'matrix'. You will require input,respiration,export, and output vectors of type 'vector' Storage consists of the 'components' value from the LIM file called using "'limfile'$Components" where limfile is the name of the lim file read in. Living requires a vector consisting of true and false values to indicate whether the corresponding node is alive or dead. The LIMtoENA functions provide this requirements.

Usage

1
PackNet(internalflows, importsvec, respvec, exportsvec, outputsvec, biomassC, livingvec)

Arguments

internalflows

A list containing matrices of the internal flows of a network.

importsvec

A list containing vectors of import values for a network.

respvec

A list containing vectors of respiration values for a network.

exportsvec

A list containing vectors of export values for a network.

outputsvec

A list containing vectors of output values for a network.

biomassC

A vector of biomass values for a network.

livingvec

A vector of true and false values for living and non-living nodes in a network.

Author(s)

Ruchit Mahabir

Christopher Waspe

Ursula Scharler

Examples

1
2
PackedNetworkObjectList <- PackNet(internalflows, 
importsvec, respvec, exportsvec, outputsvec, biomassC, livingvec)

FlowCAr documentation built on Sept. 30, 2019, 5:04 p.m.