Calculates the fraction of comparable pairs in a partial order.

comparable_pairs(P)

## Arguments

P A partial order as matrix object, e.g. calculated with neighborhood_inclusion or positional_dominance.

## Value

Fraction of comparable pairs in P.

library(igraph)
comparable_pairs(P)#> [1] 0