Rank hubs by degree either with the final network or according to how consistently the degree is high across bootstrap replicates.
rankHub(ig, bdeg = NULL, level = c("x", "y"))
ig | An igraph network object output from |
---|---|
bdeg | If NULL, the ranking of hubs nodes is done by their
highest degree in the If non-null, List output from list element of |
level | Character value either 'y' or 'x' (defaults to 'x') specifying to rank hubs that are x or y nodes. Ranking levels x and y together is not supported. |
The igraph object ig
updated with a
'rank_hub' attribute containing each nodes' respective rank.
If bdeg
is non-null the mean degree rank across
bootstrap replicates is labeled with attribute 'mean_rank_hub',
and its corresponding standard deviation is labeled
as attribute 'sd_rank_hub'.