1. 学习
  2. /
  3. 课程
  4. /
  5. Building Dashboards with flexdashboard

Connected

练习

Adding User Input

Now let's add some user inputs!

说明

100 XP
  • Add a sliderInput() to the side bar with inputId "start_slider".
  • Label the input "Select trip start times to display (hour of day):".
  • Set the minimum and maximum to 0 and 24.
  • Set the initial value to select 7am to 10am.
  • Set the step to one hour.