specify_graph | R Documentation |
This launches the Shiny interface in the system's default web browser. The results of the computation will be displayed in the browser, but they can also be returned to the R session by assigning the result of the function call to an object. See below for information on what is returned.
specify_graph()
If the button "Exit and return graph object" is clicked, then only the graph is returned as an aaa-igraph-package object.
If the bounds are computed and the button "Exit and return objects to R" is clicked, then a list is returned with the following elements:
The graph as drawn and interpreted, an aaa-igraph-package object.
The objective and all necessary supporting information. This object is documented in analyze_graph. This can be passed directly to optimize_effect_2.
Object of class 'balkebound' as returned by optimize_effect_2.
Character vector of the specified constraints. NULL if no constraints.
Text describing the causal effect of interest.
Function that takes parameters (observed probabilities) as arguments, and returns a vector of length 2 for the lower and upper bounds.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.