View source: R/process-optimizer.R
opt_effect | R Documentation |
This helper function does the heavy lifting for optimize_effect_2
.
For a given casual query, it computes either a lower or an upper bound on the corresponding causal effect.
opt_effect(opt, obj)
opt |
A string. Either |
obj |
An object as returned by the function |
An object of class optbound
; a list with the following named components:
expr
is the main output; an expression of the bound as a print-friendly string,
type
is either "lower"
or "upper"
according to the type of the bound,
dual_vertices
is a numeric matrix whose rows are the vertices of the convex polytope of the dual LP,
dual_vrep
is a V-representation of the dual convex polytope, including some extra data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.