transitive_reduction: Transitive Reduction

Description Usage Arguments Value Author(s) Examples

View source: R/transitive.reduction.R

Description

Calculates the transitive reduction of a partial ranking.

Usage

1

Arguments

P

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

Value

transitive reduction of P

Author(s)

David Schoch

Examples

1
2
3
4
5
6
7
8
library(igraph)

g <- threshold_graph(100, 0.1)
P <- neighborhood_inclusion(g)
sum(P)

R <- transitive_reduction(P)
sum(R)

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