Learn R Programming

simplifyNet (version 0.0.1)

sVIM: Signed vertex incidence matrix

Description

Calculate the signed vertex incidence matrix.

Usage

sVIM(E_List)

Value

Return a signed, m by n, vertex incidence matrix, B.

Arguments

E_List

Edge list formatted | n1 | n2 | weight |.

Author

Alexander Mercier

Details

Intended as internal function.

Examples

Run this code
E_List = matrix(c(1,1,2,2,3,3,1,1,1), 3, 3)
colnames(E_List) <- c("n1", "n2", "weight")
B = sVIM(E_List)

Run the code above in your browser using DataLab