computePathMatrix2: auxiliary file for SID: computes a path matrix efficiently...

Description Usage Arguments Value Author(s) See Also

View source: R/computePathMatrix2.R

Description

auxiliary file for SID: computes a path matrix efficiently (can probably be made faster) The only difference to the function computePathMatrix is that this function changes the graph by removing all edges that leave condSet. If condSet is empty, it just returns PathMatrix1.

Usage

1
computePathMatrix2(G,condSet,PathMatrix1, spars=FALSE)

Arguments

G

graph.

condSet

set of variables

PathMatrix1

PathMatrix1

spars

boolean indicating whether the matrices are sparse

Value

pathMatrix

Author(s)

Jonas Peters <jonas.peters@tuebingen.mpg.de>

See Also

structIntervDist computePathMatrix


SID documentation built on May 2, 2019, 1:05 p.m.