Description Usage Arguments See Also Examples
Calculates 'APL' (Average Path Length) as defined in Yang, Knoke (2001).
Called flament_average_path_length
in homage to A.C. Flament, who defined
path length in 1963.
1 | flament_average_path_length(sociomatrix, path)
|
sociomatrix |
a nonnegative, real valued sociomatrix. |
path |
an integer vector of node indices from |
1 2 3 4 5 | ## Calculate 'APL' of a path in a sociomatrix
flament_average_path_length(YangKnoke01, path = c(1,2,5))
## This path doesn't exist
flament_average_path_length(YangKnoke01, path = c(1,2,4,5))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.