as.extended: Create an Extended Format Matrix

View source: R/as.extended.R

as.extendedR Documentation

Create an Extended Format Matrix

Description

Converts a network object to the extended format of Allesina and Bondavalli (2003). Used in the balance function.

Usage

as.extended(x, zero.na = TRUE)

Arguments

x

A network object.

zero.na

Logical: should NA's be replaced with zeros?

Value

Returns an extended format matrix.

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

balance

Examples




data(troModels)
as.extended(troModels[[6]])




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