path_length: Characteristic path length

Description Usage Arguments Value References Examples

View source: R/path.R

Description

The mean shortest set of links between species species pairs.

Usage

1
path_length(graph, directed = TRUE, ...)

Arguments

graph

an igraph object.

directed

logical: is the graph directed?

...

others arguments passed to igraph::mean_distance.

Value

numeric: the characteristic path length.

References

Baiser, B., Gotelli, N. J., Buckley, H. L., Miller, T. E., & Ellison, A. M. (2012). Geographic variation in network structure of a nearctic aquatic food web. Global Ecology and Biogeography.

Examples

1
2
3

clementviolet/omnivor documentation built on Aug. 16, 2019, 12:05 a.m.