View source: R/svdcentrality.R
calc_svd_entropy | R Documentation |
This function calculates the entropy and rank of a network using Singular Value Decomposition (SVD). It accepts either an adjacency matrix or an igraph object and processes it accordingly.
calc_svd_entropy(A, threshold_factor = 1e-06)
A |
An adjacency matrix (square, weighted or unweighted) or an igraph object. |
threshold_factor |
A small value (default = 1e-6) to determine numerical rank approximation. |
A list containing:
Rank |
Effective rank of the matrix. |
Entropy |
SVD entropy of the network. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.