Description Usage Arguments Details Value Examples
View source: R/LinePropertiesMatrix.R
Creates the line properties matrix
1 | LinePropertiesMatrix(g, Edgename = "Link", Weight = "Y")
|
g |
Igraph object which contains an attribute naming the edges and another that provides the edge weight |
Edgename |
A character string of the edge attribute that holds edge names. Default is "Link" |
Weight |
A character string of the edge.attribute for edge weights. Default is "Y |
This function creates a line properties matrix that can be used with the output of the Transmission matrix function. The function takes an igraph object of a power-grid and returns diagonal matrix. Where the diagonal is the edgeweight of each edge.
A matrix, with names rows and columns
1 2 3 4 | #This example doesn't show in the documentation I don't know why
g2 <-make_ego_graph(g, 2, "AXMI")[[1]]
plot(g2)
LinePropertiesMatrix(g2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.