Calculates Boltzmann probabilities for all states
1 | probability_bm(omega, tau, n, beta = 1, bm)
|
omega |
is a (symmetrical) matrix with the strength of connection between each nodes. Set the the diagonal to zero. |
tau |
is a vector with a threshold for each node |
n |
is the number of nodes in the network |
beta |
is the dependency parameter |
bm |
is a matrix with all possible configurations. This can be created with: bm <- as.matrix(expand.grid(rep(list(0:1),n))); bm[bm==0] <- -1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.