bool.param: bool.param

Description Usage Arguments Details Value Author(s) Examples

View source: R/params.R

Description

Build a boolean AnalysisPageParam

Usage

1

Arguments

...

Passed through to simple.param. This includes at least "name", and optionally "label", "description" and "value" (which should be either TRUE or FALSE), but not "type".

Details

Build a boolean AnalysisPageParam. This is probably rendered as a checkbox. The value returned to the server should be either JSON "true" (corresponding to checked) or JSON "false".

If you do not provide a value (or if you provide value="", which is what happens in the parent constructor simple.param when you don't provide a value) then the default will be FALSE.

Value

An AnalysisPageParam

Author(s)

Brad Friedman

Examples

1
  show.ids <- bool.param("show_ids", label="Show IDs", description="Show sample IDs on the plot", value=TRUE)

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