Check if a DAG node presents an unknown variable.
Another helper function, internally used by brute.search
. It checks whether the node specified is of type=2 or is named 'unknown'.
is.unknown(x, dag)
x |
The node of interest. |
dag |
The DAG to be evaluated. |
TRUE if unknown (acc. to type or name), FALSE otherwise.
Lutz P Breitling <l.breitling@posteo.de>
dag2<-demo.dag2(); is.unknown(2, dag2); is.unknown(3, dag2); dag2u<-dag2; dag2u$names[2]<-"unknown"; is.unknown(2, dag2u); is.unknown(3, dag2u);
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.