causaloptim-package |
An Interface to Specify Causal Graphs and Compute Bounds on Causal Effects |

analyze_graph |
Analyze the causal graph to determine constraints and objective |

btm_var |
Recursive function to get the last name in a list |

causaloptim |
An Interface to Specify Causal Graphs and Compute Bounds on Causal Effects |

const.to.sets |
Translate lists of constraints to lists of vectors |

constant_term |
Compute the scalar product of two numeric vectors of the same length |

create_effect_vector |
Translate target effect to vector of response variables |

create_q_matrix |
Translate response functions into matrix of counterfactuals |

create_response_function |
Translate regular DAG to response functions |

create_R_matrix |
Create constraint matrix |

evaluate_objective |
Compute the scalar product of a vector of numbers and a vector of both numbers and strings |

expand_cond |
Expand potential outcome conditions |

find_cycles |
Find cycles in a graph |

interpret_bounds |
Convert bounds string to a function |

latex_bounds |
Latex bounds equations |

linear_expression |
Compute the scalar product of a vector of numbers and a vector of strings |

linear_term |
Compute the product of a single numeric scalar and a single string |

list_to_path |
Recursive function to translate an effect list to a path sequence |

optimize_effect |
Run the Balke optimizer |

optimize_effect_2 |
Run the optimizer |

opt_effect |
Compute a bound on the average causal effect |

parse_constraints |
Parse text that defines a the constraints |

parse_effect |
Parse text that defines a causal effect |

pastestar |
Paste with asterisk sep |

plot.linearcausalproblem |
Plot the graph from the causal problem |

plot_graphres |
Plot the analyzed graph object |

print.linearcausalproblem |
Print the causal problem |

reduce.sets |
Algebraically reduce sets |

shortentxt |
Shorten strings to 80 characters wide |

simulate_bounds |
Simulate bounds |

specify_graph |
Shiny interface to specify network structure and compute bounds |

symb.subtract |
Symbolic subtraction |

update_effect |
Update the effect in a linearcausalproblem object |