Description Usage Arguments Examples
View source: R/generate_unfolding.R
This function unfolds a cyclic causal graph probabilitically for a set number of time steps
1 2 | generate_unfolding(graph, starting_state, unfold_for = 20, pow = 0.75,
sar = 0)
|
graph |
The graph to be unfolded |
starting_state |
The state at t=0 |
unfold_for |
How many steps to unfold the graph for? Defaults to 20 |
pow |
How likely are the causal connections to cause their effects, defaults to .75 |
sar |
How likely are the components to turn on on their own, defaults to 0. |
1 | generate_unfolding(matrix(c(1,1,0,0), 2, 2, byrow=T), c(1,0))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.