I have a dataset with vaccine uptake and various levels of geography in separate columns. I want to show boxplots of vaccine uptake for GP practices by CCG within one health area.
The code I used in R:
boxplot(Percentuptake~CCGName, data=pertussis, subset=DCOCode %in% c("Q74 Eng Team"),
main="Maternal Pertussis Uptake", xlab="CCG Name",
ylab="Maternal Pertussis Uptake (%)")
I get the plot I wanted but the x axis (and boxplot) has the CCG labels for all the health areas not just the one selected.
Any help would be much appreciated.