computePathMatrix2 {SID}R Documentation

auxiliary file for SID: computes a path matrix efficiently (can probably be made faster)

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

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


[Package SID version 1.1 Index]