Y_to_M: calculate the missing edges as an edgelist from an adjacency...

View source: R/adjacency_to_edges.R

Y_to_MR Documentation

calculate the missing edges as an edgelist from an adjacency matrix with NaNs indicating missing links

Description

uses C code to quickly find all pairs of nodes for which we do not know whether there is a link or not, given an adjacency matrix with NaNs indicating unknown / unobserved linkage

Usage

Y_to_M(N, NM, directed, Y)

Arguments

N

number of nodes

NM

number of missing edges

directed

logical indicator of directedness; TRUE=>directed FALSE=>undirected

Y

input adjacency matrix

Value

A matrix of missing edges M

Author(s)

Michael Salter-Townshend

See Also

Y_to_E, E_to_Y, Y_to_nonE


VBLPCM documentation built on March 31, 2023, 9:21 p.m.