Skip to contents

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

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

Author

Matthew K. Lau Stuart R. Borrett

Examples




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

names(pl10)
#> [1] "thresholds" "tf"         "ctf"       
pl10$thresholds
#> mID m50 m80 m95 
#>   6   1   2   4