Learn R Programming

enaR (version 2.9.1)

balance: 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.

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

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

Run the code above in your browser using DataLab