unpack: Extracts network object into a list

View source: R/unpack.R

unpackR Documentation

Extracts network object into a list

Description

Separates the components of a network object into separate components within a list. This includes inputs, exports, respirations, outputs (exports + respirations), storage, and internal flows.

Usage

unpack(x = "network object")

Arguments

x

A network object. This includes all weighted flows into and out of each node.

Details

Flows are oriented from row to column.

Value

F

matrix of flows from each node to each node oreinted row to column.

z

Node boundary inputs.

r

Node boundary loss from respiration.

e

Node boundary loss due to exportation

y

Node boundary loss; summation of r and e

X

Node storage or biomass

living

Logical vector indicating whether each node is living or not

Author(s)

Matthew K. Lau Stuart R. Borrett

See Also

pack,read.scor

Examples

data(troModels)
unpack(troModels[[6]])


SEELab/enaR documentation built on April 29, 2023, 8:40 a.m.