powered by
Computes the angle between eigenvectors of the signed or complex Laplacian.
laplacian_angle(g, type = "sign", ...)
input graph. Must have a sign edge attribute
string. either "sign" for signed Laplacian or "complex" for complex Laplacian. Defaults to "sign"
additional parameters for Laplacian matrix such as the attribute containing "P","N" and "A" for the complex Laplacian
a numeric matrix
angle between eigenvectors and zero.
# NOT RUN { library(igraph) g <- sample_islands_signed(3, 10, 5/10, 1) laplacian_angle(g) # }
Run the code above in your browser using DataLab