title: Shiny plot not showing full output
body: <p>I made a very basic shiny app which can be found here: <a href="https://tejaykodali.shinyapps.io/taxiTrips" rel="nofollow">https://tejaykodali.shinyapps.io/taxiTrips</a></p>
  
  <p>For some reason, it won't display output beyond hour 20, even if I set the ending hour as 23.</p>
  
  <p>This is the function that generates the plot:</p>
  
  <pre><code>tripsPlot &lt;- function(day, startHour, endHour) {
    tripsData &lt;- subset(taxiData, Day == day)
    tripsTable &lt;- table(hour(tripsData$tpep_pickup_datetime))
    tripsTable &lt;- tripsTable[startHour + 1:endHour + 1]
    taxiPlot &lt;- plot(tripsTable, type = 'o', xlab = 'Hour', xlim = c(startHour, endHour))
    return(taxiPlot)
  }
  </code></pre>
  
  <p>The full code is here: <a href="https://github.com/ginobili0/taxiTrips" rel="nofollow">https://github.com/ginobili0/taxiTrips</a></p>
  
  <p>What am I doing wrong?</p>