pack: Compile Network Information into a Network Class

View source: R/pack.R

packR Documentation

Compile Network Information into a Network Class

Description

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

Usage

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


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