get_joint: Get joint probability distribution over all possible...

Description Usage Arguments Examples

View source: R/get_joint.R

Description

Returns the marginal probability of each state at time t and of each node being active at time t

Usage

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

Arguments

graph

the generating graph

starting_state

the starting position or distribution for the chain

pow

strength of causal connections, defaults to .75

sar

strength of background exogenous causes of variables, defaults to 0

how

many steps to unfold the joint NB Very slow for more than 5ish

Examples

1
get_joint(matrix(c(1,1,0,0),2,2,byrow=T), c(1,0), unfold_for=7)

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