rewiring_creates_new_edges: Check that swapping targets between two edges will require...

Description Usage Arguments Details Value

View source: R/rewiring_creates_new_edges.R

Description

Check that swapping targets between two edges will require creating new edges

Usage

1

Arguments

x

An adjacency matrix or igraph object

edges

A matrix specifying edges as source->destination ordered pairs.

Details

edges should be oriented such that each column is an edge, the first row contains the source vertices, and the second row contains the target vertices.

Value

logical


crcox/latticize documentation built on Dec. 19, 2021, 6:19 p.m.