Learn R Programming

enaR (version 2.9.1)

unpack: "Unpacks" the Network Object into Separate Objects

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.

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

See Also

pack,read.scor

Examples

Run this code
data(troModels)
unpack(troModels[[6]])

Run the code above in your browser using DataLab