Which function is used to create a bar graph in R ?(a) bar()
(b) plot()
(c) bargraph()
(d) barplot()
Answers
Answered by
1
"A barplot is used to create a bargraph in R. Barplots can be created in R using the barplot() function.
We can also supply a vector or matrix to this function.
If we supply a vector, the plot will have bars with their heights equal to the elements in the vector.
"
Answered by
1
Answer:
d) barplot()
is the correct answer
Similar questions