create_response_function: Translate regular DAG to response functions

Description Usage Arguments Value

View source: R/translation-modules.R

Description

Translate regular DAG to response functions

Usage

1
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


causaloptim documentation built on Dec. 11, 2021, 9:56 a.m.