I have two objects, say a and b which are assigned to a variable in a data set (assume battery life of iphone (a) and samsung (b)) From what I know to draw the box plot for a, I simply write
boxplot(a)
And this is working, I get a perfectly good box plot for the respective data.
My question is how do I get both the box plots (for a and b) on one axis?