Learn R Programming

signnet (version 0.6.0)

laplacian_angle: Angle between Eigenvectors

Description

Computes the angle between eigenvectors of the signed or complex Laplacian.

Usage

laplacian_angle(g, type = "sign", ...)

Arguments

g

input graph. Must have a sign edge attribute

type

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

Value

a numeric matrix

Details

angle between eigenvectors and zero.

Examples

Run this code
# 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