balance: Balance Flow Network Models

View source: R/balance.R

balanceR Documentation

Balance Flow Network Models

Description

Applies the methods of Allesina and Bondavalli (2003) for balancing flow network models.

Usage

balance(x, method = c("AVG2", "AVG", "IO", "OI", "I", "O"), tol = 5)

Arguments

x

A network object.

method

Methods for model balancing, see Allesina and Bondavalli (2003).

tol

Percent error tolerance used in the steady state check prior to balancing.

Value

Returns a network object with a balanced flow network model.

Author(s)

Matthew K. Lau Stuart R. Borrett

References

Allesina, S., Bondavalli, C., 2003. Steady state of ecosystem flow networks: a comparison between balancing procedures. Ecological Modelling 165(2-3):231-239.

See Also

bal

Examples




data(troModels)
balance(troModels[[6]])




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