findPathLength: Cumulative Flow over a Range of Path Lengths

View source: R/findPathLength.R

findPathLengthR Documentation

Cumulative Flow over a Range of Path Lengths

Description

Calculates the flow throughout the entire network over a given path length.

Usage

findPathLength(x, maxPath = 100, plot.sw = FALSE)

Arguments

x

Network model object.

maxPath

The maximum path length to calculate total flow.

plot.sw

LOGICAL: should a plot be generated showing flow accumulation?

Value

thresholds

thresholds indicating the development of throughflow as path length increases: the path length at which indirect flow exceeds direct flow (mID), path length at which 50%, 90%, and 95% of total system throughflow is achieved (m50, m90, and m95, respectively)

tf

total flow across paths from length 0 (Boundary inputs) to maxPath

ctf

cumulative total flow from path length 0 to maxPath

Author(s)

Matthew K. Lau Stuart R. Borrett

References

Borrett, S.R, Patten, B.C., Whipple, S.J. 2010. Rapid development of indirect effects in ecological networks. Oikos 119:1136–1148.

See Also

enaFlow

Examples




data(troModels)
pl10 <- findPathLength(troModels[[6]], plot.sw = TRUE, maxPath = 10)
names(pl10)
pl10$thresholds



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