Lfct: Total causal effects

Description Usage Arguments Value See Also Examples

Description

Computes the inverse of (I-W) when W is upper triangular.

Usage

1
Lfct(W)

Arguments

W

matrix - W must be upper triangular.

Value

L = I+W+W^2+...+W^(p-1) where p is the number of rows and columns of W.

See Also

simulGBN

Examples

1
2
W <- 1*upper.tri(matrix(0,5,5))
Lfct(W)

andreamrau/GBNcausal documentation built on May 12, 2019, 3:34 a.m.