I would like to add in the same boxplot graph an additional boxplot from a different dataframe. I have a first dataframe with a continous variable grouped by a factor variable with 5 levels. I create a boxplot with this code
boxplot (mydata$height~ mydata$group, xlab="", ylab="", ylim=c(120, 260),  col= c("chartreuse1", "gray87", "gray87", "gray87", "gray87"), las=1)
Now I need to add in the same graph another boxplot from another data.frame that represents the range of normality.My first try was to add this code:
boxplot (control$height, add=TRUE)
Data from the vars for the first dataframe are:
Height         group
1   160.5401     IC
2   152.1736     IC
6   135.2394     IC
7   138.8716     IC
8   150.3041     IC
9   163.8295     IC
10  141.1793     IC
11  152.1263     IC
12  175.3540     IC
13  133.9237     IP
14  131.2115     IP
15  134.8984     IP
16  134.2888     IP
17  132.0721     IP
18  131.6538     IP
19  134.0276     IP
20  140.5256     IP
21  135.6092     IP
24  141.6863     IP
25  165.4456     TC
26  238.7608     TC
27  162.2336     TC
28  197.7274     TC
29  163.0832     TC
However, the control boxplot is added above the first group and it is a mess...
Any help will be appreciated.
Thanks
 
    