Learn R Programming

causaloptim (version 0.9.1)

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)

Arguments

obj

An object as returned by analyze_graph

effectt

A character string that represents the causal effect of interest

Value

A object of class linearcausalproblem, see analyze_graph for details