Learn R Programming

causaloptim (version 0.9.1)

create_response_function: Translate regular DAG to response functions

Description

Translate regular DAG to response functions

Usage

create_response_function(graph, right.vars, cond.vars)

Arguments

graph

An aaa-igraph-package object that represents a directed acyclic graph must contain edge attributes named "leftside" and "lrconnect" that takes values 0 and 1. Only one edge may have a value 1 for lrconnect. The shiny app returns a graph in this format.

right.vars

Vertices of graph on the right side

cond.vars

Vertices of graph on the left side

Value

A list of functions representing the response functions