create_q_matrix {causaloptim}R Documentation

Translate response functions into matrix of counterfactuals

Description

Translate response functions into matrix of counterfactuals

Usage

create_q_matrix(respvars, right.vars, cond.vars, constraints)

Arguments

respvars

A list of functions as returned by create_response_function

right.vars

Vertices of graph on the right side

cond.vars

Vertices of graph on the left side

constraints

A vector of character strings that represent the constraints

Value

A list of 3 data frames of counterfactuals and their associated labels


[Package causaloptim version 0.8.2 Index]