update_effect: Update the effect in a linearcausalproblem object
Description
If you want to use the same graph and response function, but change the
effect of interest, this can save some computation time.
Usage
update_effect(obj, effectt)
Value
A object of class linearcausalproblem, see analyze_graph for details
Arguments
- obj
An object as returned by analyze_graph
- effectt
A character string that represents the causal effect of interest