edge_error: Calculate edge error

Description Usage Arguments Value

View source: R/extrafunctions.R

Description

This function counts the number edge disagreements between A and a permuted version of it, and reports the proportion of edges that are different. If the two oermutations are the same, then the result is zero.

Usage

1
edge_error(Q1, Q2, A)

Arguments

Q1

Permutation matrix

Q2

Permutation matrix

A

adjacency matrix

Value

Proportion of edges with different matching.


jesusdaniel/rBipartiteUnipartiteMatch documentation built on Dec. 20, 2021, 11:06 p.m.