Hello,
I am new to R and currently have the following problem:
I have successfully loaded my data in R which consists of two numeric columns (LI_F and female) and one character column (Strain). So far I can plot two different set of boxplots for each of the numeric columns plotted by the groups of the character column and the commands look like that:

boxplot(LI_F~Strain, ylab="LI_F", xlab="Strain", data=pain)
boxplot(female~Strain, ylab="female", xlab="Strain", data=pain)

How can I overlay the two set of boxplots (preferably in different colors), so that I can compare them one by one, meaning two boxplots corresponding to the same character in "Strain" are directly above each other?
I have tried a lot of things and would greatly appreciate your help.

Best,
Mirjam

	[[alternative HTML version deleted]]

