Flatten an adjacency matrix to a connection vector

lq_adjacency_matrix_to_vector(x, full = TRUE)

Arguments

x

Numeric matrix

full

TRUE = full n*n (directed); FALSE = upper triangle (undirected)