slider.param: slider.param

Description Usage Arguments Details Value Author(s) Examples

View source: R/params.R

Description

Build a slider AnalysisPageParam

Usage

1
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 <= max-max)

value

Default value. If not specified then the minimum is taken to be the default

Details

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

Value

An AnalysisPageParam

Author(s)

Brad Friedman

Examples

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

AnalysisPageServer documentation built on April 28, 2020, 6:32 p.m.