avgInvSPL: Average inverse supply path length

Description Usage Arguments Value Examples

View source: R/indices.R

Description

First, all shortest path lengths between producers and distributors are computed. Then, their inverse are computed. This index returns the mean of the inverses paths length (and not the inverse of the avgSPL).

Usage

1

Arguments

g

an igraph object; the supply network.

Value

a numeric between 0 and 1. 1 corresponds to all short-circuits network.

Examples

1
2
3

MiloMonnier/supplynet documentation built on Feb. 16, 2021, 8:03 p.m.