group.mreach.closeness {keyplayer} | R Documentation |
Compute the Group-level mreach.closeness Centrality Score in a Netwrok
Description
mreach.closeness
refines the mreach.degree
centrality by
using the (inverse) geodistance as weights.
The edge values should be properly interpreted as distances.
Usage
group.mreach.closeness(
adj.matrix,
nodes,
M = Inf,
method = "min",
binary = FALSE,
cmode = "total",
large = TRUE,
geodist.precomp = NULL
)
Arguments
adj.matrix |
Matrix indicating the adjacency matrix of the network. |
nodes |
Integer indicating the column index of the chosen player
in the adjacenncy matrix. If there are multiple players,
use |
M |
Number indicating the maximum distance between two nodes,
above witch the two nodes are considered disconnected. The default is
|
method |
Indication of which grouping criterion should be used.
|
binary |
If |
cmode |
String indicating the type of centrality being evaluated.
The default is to report the total degree.
|
large |
Logical scalar, whether the computation method for large network is
implemented. If |
geodist.precomp |
Geodistance precomputed for the graph to be analyzed (optional). |
Value
A vector indicating the outdegree, indegree, or total-degree cohesion score of the chosen players; or a data frame containing all the above information. Note that the outdegree and indegree scores are normalized to [0,1]. This means that the total-degree score is between [0,2].
Author(s)
Weihua An weihua.an@emory.edu; Yu-Hsin Liu ugeneliu@meta.com