findPathLength: Cumulative Flow over a Range of Path Lengths

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/findPathLength.R

Description

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

Usage

1
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

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

enaR documentation built on May 1, 2019, 10:54 p.m.