Description Usage Arguments Examples
This function computes the shannon entropy of a probability distribution. It requires a second function called propagation.
1 | action(int, graph, br = 0.1, pow = 0.9)
|
int |
is the intervention expressed as a vector with 1 as on, -1 as off and zero as free. graph is directed acyclic graph expressed as a directed adjacency matrix br is the background activation rate, defaults to .1 pow is the causal power of the links, defaults to .9 |
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.