In my data, Week_death represent the week a patient dies. Some weeks none of the patients are dying.
I am trying to do a barplot of mortality of patients. I would like to show the week without death with an empty barplot.
death <- table(as.numeric(data$Week_death))
barplot(death)
The result is the following
I tried also
plot(death)
and it gave me this result:
How do I add empty weeks?
Thanks in advance


