Learn R Programming

pcalg (version 1.1-4)

qreach: Compute possible d-sep of node x

Description

This function computes the Possible-D-Sep of node x in a partially directed acyclic graph (PDAG). It is intended for internal use only.

Usage

qreach(x, amat, verbose = FALSE)

Arguments

x
Column of node in adjacency matrix, of which possible d-sep is to be computed
amat
Adjacency matrix as returned by amat[i,j] = 0 iff no edge btw i,j amat[i,j] = 1 iff i *-o j amat[i,j] = 2 iff i *-> j
verbose
Details on output

Value

  • Vector of column positions indicating the nodes in Possible-D-Sep of x.

References

P. Spirtes, C. Glymour and R. Scheines (2000) Causation, Prediction, and Search, 2nd edition, The MIT Press.

See Also

fci and pdsep which both use this function.