Learn R Programming

pcalg (version 1.0-0)

qreach: Compute possible d-sep of node x

Description

This function computes the possible d-sep in a 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