calc_svd_entropy: Singular Value Decomposition (SVD) Entropy and Rank...

View source: R/svdcentrality.R

calc_svd_entropyR Documentation

Singular Value Decomposition (SVD) Entropy and Rank Calculation

Description

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.

Usage

calc_svd_entropy(A, threshold_factor = 1e-06)

Arguments

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.

Value

A list containing:

Rank

Effective rank of the matrix.

Entropy

SVD entropy of the network.


lsaravia/EcoNetwork documentation built on April 5, 2025, 1:51 p.m.