In R, a basic bar chart is created using the ______ function.

  • barplot()
  • plot()
  • pie()
  • scatterplot()
In R, a basic bar chart is created using the barplot() function. It takes a vector or matrix of numeric values as input and creates a vertical bar chart where each bar represents a category or variable.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *