create_effect_vector {causaloptim}R Documentation

Translate target effect to vector of response variables

Description

Translate target effect to vector of response variables

Usage

create_effect_vector(effect, graph, obsvars, respvars, q.list, variables)

Arguments

effect

Effect list, as returned by parse_effect

graph

The graph

obsvars

Vector of observed variable vertices from the graph

respvars

Response function, as returned by create_response_function

q.list

List with q matrices, as returned by create_q_matrix

variables

Vector of qs names

Value

A list with the target effect in terms of qs


[Package causaloptim version 0.8.2 Index]