Learn R Programming

ldstatsHD (version 1.0.1)

estradaIndex: Estrada Index of a graph structure

Description

Computes the Estrada Index given the adjacency matrix of a graph structure.

Usage

estradaIndex(A)

Arguments

A

matrix or Matrix object with adjacency matrix of a graph.

Value

Estrada index coefficient

Details

The Estrada Index is calculated by $$ EE(\lambda) = \sum_{j=1}^p \exp(\gamma_j(\lambda)), $$ where \(\gamma_1(\lambda), \ldots,\gamma_p(\lambda)\) are the eigenvalues of \(A_G^\lambda\).

References

Estrada, E. (2011). The structure of complex networks. New York: OXFORD University press.

See Also

lambdaSelection for lambda selection approaches.

Examples

Run this code
# NOT RUN {
EX1         <- pcorSimulator(nobs = 50, nclusters=2, nnodesxcluster=c(40,30), 
                             pattern="powerLaw")
y           <- EX1$y
out3        <- huge(y, method = "mb", lambda = 0.4)
PATH        <- out3$path[[1]]
hm          <- estradaIndex(PATH)
  
 
# }

Run the code above in your browser using DataLab