DistanceMeasures: Network analysis measures: distance based

multinet.distanceR Documentation

Network analysis measures: distance based

Description

This function is based on the concept of multilayer distance. This concept generalizes single-layer distance to a vector with the distance traveled on each layer (in the "multiplex" case). Therefore, non-dominated path lengths are returned instead of shortest path length, where one path length dominates another if it is not longer on all layers, and shorter on at least one. A non-dominated path length is also known as a Pareto distance. Finding all multilayer distances can be very time-consuming for large networks.

Usage

distance_ml(n, from, to=character(0), method="multiplex")

Arguments

n

A multilayer network.

from

The actor from which the distance is computed.

to

The actor(s) to which the distance is computed. If not specified, all actors are considered.

method

This argument can take values "simple", "multiplex", "full". Only "multiplex" is currently implemented.

Value

A data frame with one row for each non-dominated distance, specifying the number of steps in each layer.

References

Magnani, Matteo, and Rossi, Luca (2013). Pareto Distance for Multi-layer Network Analysis. In Social Computing, Behavioral-Cultural Modeling and Prediction (Vol. 7812, pp. 249-256). Springer Berlin Heidelberg.

See Also

multinet.actor_measures, multinet.layer_comparison

Examples

net <- ml_aucs()
distance_ml(net,"U54","U3")

multinet documentation built on Nov. 2, 2024, 5:06 p.m.