update_effect {causaloptim}R Documentation

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


[Package causaloptim version 0.8.2 Index]