effective_information: Effective Information

Description Usage Arguments Value

View source: R/effective_information.R

Description

Calculates the effective information (EI) of a network, G, according to the definition provided in Klein & Hoel, 2019. Here, we subtract the average entropies of the out-weights of nodes in a network, WOUT_average from the entropy of the average out-weights in the network, WIN_entropy.

EI = H[\langle W_i^{out} \rangle] - \langle H[W_i^{out}] \rangle

Usage

1
effective_information(graph, effectiveness = FALSE)

Arguments

graph

igraph or matrix object.

effectiveness

Logical indicating whether or not to return network effectiveness.

Value

Numeric value indicating the effective information of the network.


anshuman21111/einet_R documentation built on April 30, 2020, 8:09 p.m.