title: Getting error on histogram plot in R Programming
body: <p><strong>R PROGRAMMING - Trying to visualize the number of flights by destination, in decreasing order, that departed from JFK airport.</strong></p>
  
  <pre><code>flights_dest &lt;- as.data.frame(table(unlist(flights_newvar$dest)))
  print(flights_dest)
  
  ordered_flight_dest &lt;- flights_dest[order(-flights_dest$Freq), ]
  print(ordered_flight_dest)
  
  hist(ordered_flight_dest$carrier)
  </code></pre>
  
  <p>Getting error on my histogram. Can anyone help?</p>