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

as_adj_complex(g, attr)

Arguments

g

igraph object

attr

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

Value

complex adjacency matrix

See also