Compute rank intervals (minimal and maximal possible rank) and visualize them with ggplot.

plot_rank_intervals(P, cent.df, ties.method = "min")

Arguments

P A partial ranking as matrix object calculated with neighborhood_inclusion or positional_dominance. A data frame containing centrality scores of indices (optional). See Details. String specifying how ties are treated in the base rank function.

a ggplot object.

Details

If a data frame of centrality scores is added, the respective ranks of nodes are shown in the intervals. Note that some points might fall outside of the intervals depending how ties are treated.

rank_intervals

Examples

library(igraph)
library(ggplot2)
g <- graph.empty(n=11,directed = FALSE)
# }