Learn R Programming

SID (version 1.1)

computePathMatrix2: 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)

Value

pathMatrix

Arguments

G

graph.

condSet

set of variables

PathMatrix1

PathMatrix1

spars

boolean indicating whether the matrices are sparse

Author

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

See Also

structIntervDist computePathMatrix