У меня есть данные, которые выглядят следующим образом
"","Speaker","Total"
"1","David",19
"2","Grimes",29
Я хочу создать коробчатую диаграмму в R следующим образом
I am able to create a box plot as follows
df = read.csv('C:\\abovefile.csv')
barplot(df$Total, main="Total v/s Speaker",xlab="Speaker name")
However, I wasn't able to figure out how to show the name of the speaker at the bottom of each bar. How can I do this in R?
My graph currently looks like this
введите описание изображения здесь