Description Usage Arguments Value Examples
Calculates graph Laplacian given adjacency and degree matrices
1 | laplacian(adjacency.mat, degree.mat)
|
adjacency.mat |
Adjacency matrix of graph |
degree.mat |
Matrix with degrees of vertices on diagonal |
Laplacian matrix = degree - adjacency
1 2 3 | adjacency.mat <- adjacency(pairwiseDistance(iris[1:50,1:4]), similarity(iris[1:50,1:4]),2)
degree.mat <- degree(adjacency.mat)
laplacian.mat <- laplacian(adjacency.mat, degree.mat)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.