R/complex_matrices.R

as_adj_complex.Rd

This function returns the adjacency matrix for a signed graph that contains ambivalent ties

as_adj_complex(g, attr)

igraph object

edge attribute name that encodes positive ("P"), negative ("N") and ambivalent ("A") ties.

complex adjacency matrix

as_adj_signed