powered by
Calculates the transitive reduction of a partial ranking.
transitive_reduction(P)
transitive reduction of P
P
A partial ranking as matrix object calculated with neighborhood_inclusion or positional_dominance.
David Schoch
library(igraph) g <- threshold_graph(100, 0.1) P <- neighborhood_inclusion(g) sum(P) R <- transitive_reduction(P) sum(R)
Run the code above in your browser using DataLab