is.unknown: Check if a DAG node presents an unknown variable.

View source: R/is.unknown.R

is.unknownR Documentation

Check if a DAG node presents an unknown variable.

Description

Another helper function, internally used by brute.search. It checks whether the node specified is of type=2 or is named 'unknown'.

Usage

is.unknown(x, dag)

Arguments

x

The node of interest.

dag

The DAG to be evaluated.

Value

TRUE if unknown (acc. to type or name), FALSE otherwise.

Author(s)

Lutz P Breitling <l.breitling@posteo.de>

See Also

brute.search


dagR documentation built on Oct. 9, 2022, 5:06 p.m.