peay_path_value: Peay's Path Value Measure

Description Usage Arguments See Also Examples

View source: R/historical.R

Description

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

1
peay_path_value(sociomatrix, path)

Arguments

sociomatrix

a nonnegative, real valued sociomatrix.

path

an integer vector of node indices from sociomatrix.

See Also

peay_average_path_value

Examples

1
2
3
4
5
## Calculate Peay's Path Value along a path in a sociomatrix
peay_path_value(YangKnoke01, path = c(1,2,5))

## This path doesn't exist
peay_path_value(YangKnoke01, path = c(1,2,4,5))

gretel documentation built on Aug. 22, 2019, 5:10 p.m.