I wish to create a multiple box plot for a large dataset, in which I want 11 separate boxplots in the same figure, all with the same variable for the y axis. The problem is that the variable to be used for the y axis is a string character of either "1" or "2" depending on if the values are related to good or poor survival. So I have managed to get separate boxplots, but they all contain only one single box with combined values for "1" and "2". Therefore I would appreciate advice on how to split the string character so that each of the boxplots get two separate boxes - one for good survival and one for poor survival.
Also, I would like to know if it is possible to put all 11 boxplots in the same plot eventually? E.g. lined up next to each other.