Using R, Bart wants to create a bar chart showing the frequency of the color of cars that pass over the I-270 overpass at the Main Street exit. What function should he use?

Respuesta :

Functions are series of predefined codes that are executed when evoked

Bart should use the barplot() function to create the bar chart

How to determine the function

From the question, we have the following highlights

  • The programming language is R
  • The chart type is the bar chart

The function that creates a bar chart in R is the barplot() function

Hence, Bart should use the barplot() function

Read more about functions at:

https://brainly.com/question/14284563