Description Usage Arguments Value
View source: R/effective_information.R
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
1 | effective_information(graph, effectiveness = FALSE)
|
graph |
igraph or matrix object. |
effectiveness |
Logical indicating whether or not to return network effectiveness. |
Numeric value indicating the effective information of the network.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.