pack: Compile Network Information into a Network Class

Description Usage Arguments Value Author(s) See Also

View source: R/pack.R

Description

This function provides a flexible framework for importing flow network information into a network class object for analyses.

Usage

1
2
pack(flow, input = NA, respiration = NA, export = NA, output = NA,
  storage = NA, living = NA)

Arguments

flow

The flow matrix.

input

The inputs into the system.

respiration

The quantities respired from the system.

export

The exports from the system.

output

The output (i.e. exports + respiration) from the system.

storage

The quantities stored in compartments within the system.

living

A logical vector indicating whether a node is either 'living' (= TRUE) or 'dead' (=FALSE).

Value

Returns a network object for the supplied model.

Author(s)

Matthew K. Lau Stuart R. Borrett

See Also

unpack


enaR documentation built on May 1, 2019, 10:54 p.m.