View source: R/spectral_coords.R
spectral_coords | R Documentation |
Calculates the spectral coordinates of a graph using the two smallest non-zero eigenvalues of the graph Laplacian.
spectral_coords(adj_mat)
adj_mat |
A symmetric adjacency matrix or sparse matrix representing an undirected graph. |
A matrix where each row represents the spectral coordinates of a node in the graph.
Chung, F. R. K. (1997). Spectral Graph Theory. American Mathematical Soc.
Hall, K. M. (1970). An r-dimensional quadratic placement algorithm. Management science, 17(3), 219-229.
plot_graph
, plot_signal
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.