Description Usage Arguments Details Value Author(s) Examples
Build a select AnalysisPageParam
1 2 | select.param(..., value, choices, allow.multiple = FALSE,
style = "dropdown")
|
... |
Passed through to |
value |
Default value. If not specified then the first entry in choices is taken to be the default. |
choices |
A character vector giving the choices to display. If named, then the values are used for display and names are used for the actual form values. If unnamed, then the values are used for both display and names. |
allow.multiple |
If TRUE then render as checkbox group and allow multiple selections. (The function
will be provided a vector of all selected values.) If |
style |
Either "dropdown" (default), to render as dropdown list, or "radio", to render as radio group.
If |
Build a select AnalysisPageParam. This is probably rendered either as a dropdown or radio group. It is a selection from a fixed list of possible values. The list is known before page load time
An AnalysisPageParam
Brad Friedman
1 | color <- select.param("color", label="Color", description="Color of your house", choices=c("red","green","mauve","tope"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.