0
newdata3 <- c(HAmort[3],HFmort[3],PNEUmort[3])
names(newdata3) <- c("Heart Attack Mortality Rate","Heart Failure Mortality Rate","Pneumonia Mortality Rate" )
barplot(newdata3,cex.names = 1,main="Mortality Rate for different illness in ST Rose Hospital",
xlab = myfinaldata$Hospital.Name[3], ylab = "Mortality Rate",ylim= range(0:20))
textxy()

Hi , may i know how to what code should i type inside the function textxy so that i can get something like this :

The barplot i want

My current barplot

zx8754
  • 52,746
  • 12
  • 114
  • 209
Danny
  • 25
  • 7
  • [How to make a great R reproducible example?](http://stackoverflow.com/questions/5963269) – zx8754 Nov 27 '15 at 13:12
  • note that the answer to your question is given in the **question** that is linked (as a prelude to the actual question). – Ben Bolker Nov 27 '15 at 13:27

0 Answers0