View source: R/transitive.reduction.R
transitive_reduction | R Documentation |
Calculates the transitive reduction of a partial ranking.
transitive_reduction(P)
P |
A partial ranking as matrix object calculated with neighborhood_inclusion or positional_dominance. |
transitive reduction of P
David Schoch
library(igraph)
g <- threshold_graph(100, 0.1)
P <- neighborhood_inclusion(g)
sum(P)
R <- transitive_reduction(P)
sum(R)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.