Any tips on adding totals to bar graph plots when using the basic barplot function.
The code below gives me a basic plot without any problems for my data set but I would like to add totals to each column.
counts <- table(jsonData$type)
barplot(counts, main='All types)',
col=rainbow(20), ylim=c(0,3000), las=2, cex.names=.8 )