getWRW1Mat | R Documentation |
Returns the laplacian matrix of a graph. If weights are supplied then the weighted lacplacian is returned. Sensible weights are based on the flows of the incoming upstream graph edges.
getWRW1Mat(g, weights = NULL)
g |
an igraph graph specifying the dependence structure |
weights |
weights to be applied to the edges of the graph (see details) |
Weights argument is passed onto the graph.laplacian function from the igraph package. If weights is NULL (default) and the graph has an edge attribute called weight, then it will be used automatically. Set this to NA if you want the unweighted Laplacian on a graph that has a weight edge attribute.
what does it return
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.