generate_unfolding: Unfold a cyclic causal network

Description Usage Arguments Examples

View source: R/generate_unfolding.R

Description

This function unfolds a cyclic causal graph probabilitically for a set number of time steps

Usage

1
2
generate_unfolding(graph, starting_state, unfold_for = 20, pow = 0.75,
  sar = 0)

Arguments

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.

Examples

1
generate_unfolding(matrix(c(1,1,0,0), 2, 2, byrow=T), c(1,0))

neilbramley/acl_source documentation built on May 29, 2019, 6:53 p.m.