Skip to contents

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

Usage

as_adj_complex(g, attr)

Arguments

g

igraph object

attr

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

Value

complex adjacency matrix

See also