| interactive.selection | R Documentation |
Construct control widget
interactive.selection( action, nodes, edges = NULL, slider = NULL, checkbox = NULL, perturb = TRUE, monitor = TRUE )
action |
function to perform the widgets action |
nodes |
node labels |
edges |
edge labels |
slider |
slider label |
checkbox |
checkbox label |
perturb |
should a node perturbation control be rendered |
monitor |
should a node monitoring control be rendered |
Constructs a toplevel window that allows the allowing the user to interactively select nodes to perturb/monitor, from a subset of models, and then perform a given action.
The action argument must be function of five arguments
perturb the nodes that were perturbed
monitor the outcome of the monitoring
edge the edges to select
check the state of a checkbutton
slider the state of a slider
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.