Session Ready
Exercise

Create a value box for the maximum velocity

Now you can begin building your dashboard! First, create a value box for the maximum velocity of a fireball at peak brightness (the variable vel in your nasa_fireball data frame). There are many ways to find the maximum value in R; be sure to remove NA values when doing so.

The nasa_fireball data frame has already been loaded.

Instructions
100 XP
  • Find the maximum velocity and save it as an object called max_vel.
  • Create a value box with the value equal to max_vel, subtitle "Maximum pre-impact velocity", and "fire" icon.
  • Run the shiny dashboard to view your work.