parameterControlTool: Create playwith tools for controlling parameter values
Description
Part of the playwith Application Programming Interface.
Usage
## Note: this is only to be called inside a tool constructor function.
parameterControlTool(playState, name, value, label = name, handler = NULL, horizontal = TRUE)
Arguments
playState
a playState object, as passed in to the constructor function.
name
the parameter name as it appears in the plot call.
value
the possible or starting values for the parameter.
Can be a single or vector value, of
integer, numeric, character or logical.
See playwith for details. label
label for the widget.
horizontal
FALSE to make a tool for a vertical toolbar.
Details
Note: this is only to be called inside a tool constructor function.
It is not intended to be called directly.