[R] Bar Graph

AbouEl-Makarim Aboueissa @bouelm@k@rim1962 @ending from gm@il@com
Tue Sep 11 20:02:00 CEST 2018


Dear All:


I do need your help on how to add frequency to bar plot on the top of each
bar.


here is the R code.


*Number.of.Death <- c(432, 217,93, 34, 224)    ##### Number of Death*

*Cause.of.Death <- c("Heart disease", "Cancer", "Stroke", "Accidents",
"Other")  *

*barplot(Number.of.Death, names.arg=Cause.of.Death, main="Bar Grapg for
Death Data", ylab="Number of Death", xlab="Cause of Death") *



Thank you very much for your help in advance.


with many thanks
abou
______________________


*AbouEl-Makarim Aboueissa, PhD*

*Professor of Statistics*
*Graduate Coordinator*

*Department of Mathematics and Statistics*
*University of Southern Maine*

	[[alternative HTML version deleted]]



More information about the R-help mailing list