Calculates path value as defined in Peay (1980). That is, returns the
value of the weakest connection in the path, if all edges exist.
Otherwise, returns 0.
Usage
peay_path_value(sociomatrix, path)
Arguments
sociomatrix
a nonnegative, real valued sociomatrix.
path
an integer vector of node indices from sociomatrix.
# NOT RUN {## Calculate Peay's Path Value along a path in a sociomatrixpeay_path_value(YangKnoke01, path = c(1,2,5))
## This path doesn't existpeay_path_value(YangKnoke01, path = c(1,2,4,5))
# }