frag.path.lengths: Path length distribution for unconnected graphs
Description
Path length distribution for unconnected graphs
Usage
frag.path.lengths(graph, cumulative=FALSE)
Value
A numeric vector having the same length as the maximum path length. The first element of the vector is the frequency of the paths of length 1, the second element is the frequency of the paths of length 2, etc.
Arguments
graph
An igraph object.
cumulative
Logical. If TRUE, the cumulative relative frequency of the path lengths is returned.
Author
Sebastien Plutniak <sebastien.plutniak at posteo.net>
Details
This function is a wrapper of igraphdistance_table returning the frequency of path lengths in undirected and unconnected graphs. In the context of archaeological fragmentation analysis, path lengths are interpreted to characterise the properties of fragmentation within a layer.