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

`as_adj_complex(g, attr)`

- g
igraph object

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

complex adjacency matrix