plot_rank_intervals: Plot rank intervals

Description Usage Arguments Author(s) See Also Examples

View source: R/plot.rank.intervals.R

Description

This function is deprecated. Use plot(rank_intervals(P)) instead

Usage

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

Arguments

P

A partial ranking as matrix object calculated with neighborhood_inclusion or positional_dominance.

cent.df

A data frame containing centrality scores of indices (optional). See Details.

ties.method

String specifying how ties are treated in the base rank function.

Author(s)

David Schoch

See Also

rank_intervals

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
library(igraph)
data("dbces11")
P <- neighborhood_inclusion(dbces11)
## Not run: 
plot_rank_intervals(P)

## End(Not run)

# adding index based rankings
cent_scores <- data.frame(
  degree = degree(dbces11),
  betweenness = round(betweenness(dbces11), 4),
  closeness = round(closeness(dbces11), 4),
  eigenvector = round(eigen_centrality(dbces11)$vector, 4)
)
## Not run: 
plot_rank_intervals(P, cent.df = cent_scores)

## End(Not run)

netrankr documentation built on Sept. 5, 2021, 5:19 p.m.