strong_threshold {pald} | R Documentation |
Cohesion Threshold for Strong Ties
Description
Given a cohesion matrix, provides the value of the threshold above which values of cohesion are considered "particularly strong".
Usage
strong_threshold(c)
Arguments
c |
A |
Details
The threshold considered in Berenhaut, Moore, and Melvin (2022) which may be used for distinguishing between strong and weak ties. The threshold is equal to half the average of the diagonal of the cohesion matrix, see Berenhaut, Moore, and Melvin (2022).
Value
The value of the threshold.
References
K. S. Berenhaut, K. E. Moore, R. L. Melvin, A social perspective on perceived distances reveals deep community structure. Proc. Natl. Acad. Sci., 119(4), 2022.
Examples
C <- cohesion_matrix(dist(exdata1))
strong_threshold(C)
mean(diag(C)) / 2
## points whose cohesion are greater than the threshold may be considered
## (strong) neighbors
which(C[3, ] > strong_threshold(C))
## note that the number of (strongly-cohesive) neighbors varies across the
## space
which(C[4, ] > strong_threshold(C))
C[4, c(2, 3, 4, 6)] # cohesion values can provide neighbor weights
[Package pald version 0.0.4 Index]