For each input function below:

  1. Supply the arguments needed by the function
    • each needs an inputId and a label argument
    • if a function needs additional arguments, they are listed above the function
  2. Remove eval=FALSE from the code chunk
  3. Re-render the document to see the finished input

How many inputs can you complete in 10 minutes?


actionButton()
actionLink()
# value - TRUE or FALSE. Should the checkbox begin checked?
checkboxInput()
# choices - Character vector. List of values to show checkboxes for.
# selected - Character vector. List of checkboxes to begin checked.
# inline - TRUE or FALSE. Should the boxes be shown inline (vs. above one another)?
checkboxGroupInput()
# value - NULL, a Date object, or a string in yyyy-mm-dd format. The starting date.
dateInput()
# start - NULL, a Date object, or a string in yyyy-mm-dd format. The initial start date.
# end - NULL, a Date object, or a string in yyyy-mm-dd format. The initial end date.
dateRangeInput()
fileInput()
# value - Numeric. Initial value
# min - Numeric. Minimum value allowed.
# max - Numeric. Maximum value allowed.
# step - Numeric. Interval to use when stepping between min and max.
numericInput()
# value - Character string. Initial value
passwordInput()
# choices - Character vector. List of values to select from.
# selected - Character string. The initial selected value.
# inline - TRUE or FALSE. Should the buttons be shown inline (vs. above one another)?
radioButtons()
# choices - Character vector. List of values to select from.
# selected - Character string. The initial selected value.
# multiple - TRUE or FALSE. Can user select multiple items?
selectInput()
# value - Numeric. Initial value
# min - Numeric. Minimum value allowed.
# max - Numeric. Maximum value allowed.
# step - Numeric. Interval to use when stepping between min and max.
# animate - TRUE or FALSE. Show simple animation controls with slider?
sliderInput()
# value - Character string. Initial value
textInput()


rstudio/reportsWS documentation built on May 28, 2019, 5:42 a.m.