Description Usage Arguments Value Author(s) References Examples
Check whether two nodes are d-separated.
1 | dsep(bn, x, y, z)
|
bn |
an object of class |
x,y |
a character string, the label of a node. |
z |
an optional vector of character strings, the label of the (candidate) d-separating nodes. It defaults to the empty set. |
dsep
returns TRUE
if x
and y
are
d-separated by z
, and FALSE
otherwise.
Marco Scutari
Koller D, Friedman N (2009). Probabilistic Graphical Models: Principles and Techniques. MIT Press.
1 2 3 4 | bn = model2network("[A][C|A][B|C]")
dsep(bn, "A", "B", "C")
bn = model2network("[A][C][B|A:C]")
dsep(bn, "A", "B", "C")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.