create_effect_vector {causaloptim} | R Documentation |
Translate target effect to vector of response variables
create_effect_vector(effect, graph, obsvars, respvars, q.list, variables)
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 |
A list with the target effect in terms of qs