Learn R Programming

AnalysisPageServer (version 1.6.2)

slider.param: slider.param

Description

Build a slider AnalysisPageParam

Usage

slider.param(..., min, max, step, value = min)

Arguments

...
Passed through to simple.param. This includes at least "name", optionally "label" and "description" but not "type".
min
Minimum value (number)
max
Maximum value (number)
step
Size of one step (must be
value
Default value. If not specified then the minimum is taken to be the default

Value

An AnalysisPageParam

Details

Build a slider AnalysisPageParam. This is a numeric variable. It has a minimum value, a maximum value, and a step size

Examples

Run this code
slider <- slider.param("children", label="No. Children", description="Number of Children", min = 0, max = 10, step = 0.5)

Run the code above in your browser using DataLab