Learn R Programming

playwith (version 0.8-56)

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, horizontal = TRUE,
                     spinbutton = FALSE)

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
label
label for the widget.
horizontal
FALSE to make a tool for a vertical toolbar.
spinbutton
make a spinbutton rather than a slider for numerics.

Value

Details

Note: this is only to be called inside a tool constructor function. It is not intended to be called directly.

See Also

quickTool, playwith