The Laplacian of a signed graph containing ambivalent ties.
laplacian_matrix_complex(g, attr, norm =FALSE)
Arguments
g: igraph object.
attr: edge attribute name that encodes positive ("P"), negative ("N") and ambivalent ("A") ties.
norm: Whether to calculate the normalized Laplacian. See definitions below.
Returns
a complex matrix
Details
See laplacian_matrix of igraph for more details. In the complex case, D is a diagonal matrix containing the absolute values of row sums of the complex adjacency matrix.