likelihood_unfolding: Get log likelihood of a particular unfolded graph

Description Usage Arguments Examples

View source: R/likelihood_unfolding.R

Description

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

Usage

1
likelihood_unfolding(X, graph, pow = 0.75, sar = 0)

Arguments

X

The unfolding

graph

the graph for which to compute the likelihood of this unfolding

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
likelihood_unfolding(generate_unfolding(matrix(c(1,1,0,0), 2, 2, byrow=T), c(1,0)), matrix(c(1,1,0,0), 2, 2, byrow=T))

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