Learn R Programming

dagR (version 1.1.1)

dag.search: Evaluate possible adjustment sets of a DAG.

Description

Currently, this simply is a wrapper for brute.search, which returns the input DAG with the results of brute.search and a string describing the search setup.

Usage

dag.search(dag, type = "brute", allow.unknown = FALSE, trace = FALSE, stop = 0)

Arguments

dag
DAG to be evaluated.
type
Type of search to be performed. Currently, only =brute is possible.
allow.unknown
trace
stop

Value

  • The DAG with components searchType and searchRes added.

See Also

brute.search

Examples

Run this code
d3<-demo.dag3();
d3s<-dag.search(d3);
d3s;

Run the code above in your browser using DataLab