Displaying 1 result from an estimated 1 matches for "ikar_new".
2007 Jan 25
1
barplot x-axis problem
...y-axis). Bars should represent the number of
transfused patients by age class and sex and lines should represent
the amount of blood units given in age classes. I have now successfully made
a barplot and used par(new=TRUE) to plot another empty graph at the top of
the barplot.
#tab-table:
# ikar_new
#sp 0-9 10-19 20-29 30-39 40-49 50-59 60-69 70-79 >80
# mies 227 93 79 92 195 451 560 577 132
# nainen 183 80 102 175 99 161 230 357 164
barplot(tab,
beside=TRUE,
col = c("black", "lightgrey"),
legend = rowna...