powered by
Computes the angle between eigenvectors of the signed or complex Laplacian.
laplacian_angle(g, type = "sign", ...)
a numeric matrix
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
David Schoch
angle between eigenvectors and zero.
library(igraph) g <- sample_islands_signed(3, 10, 5/10, 1) laplacian_angle(g)
Run the code above in your browser using DataLab