View source: R/createInputControl.R
createInputControl | R Documentation |
Utility function to create standard Shiny input widgets
createInputControl(controlType, inputId, label, choices, selected, ...)
controlType |
- string - name of widget to use |
inputId |
- string - shiny input id for the UI component |
label |
- string |
choices |
- string |
selected |
- string |
... |
dots - additional arguments to pass to widgets functions |
returns a shiny input widget based on inputs
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.