I have two sets of data in data frames (different dimensions). Now, I am able to make boxplots for one of these. I am using a formula, which gives me three boxplots which is automatically placed at at = c(1:3), since there are three groups. However, I would now like to add data from the other data frame, at position 4 in the box plot. Is there any way of telling the first boxplot command that this should be allowed?
Hopefully an example that expresses what I need: > data(InsectSprays) > boxplot(count~spray, data = InsectSprays) > Aspray = subset(InsectSprays, spray == "A") > Aspray[] = lapply(Aspray, function(x) if (is.factor(x)) factor(x) else x) Now, I want to add Aspray as a new boxplot at the end of the existing plot, What do I do then? Karin -- Karin Lagesen, PhD student [EMAIL PROTECTED] http://folk.uio.no/karinlag ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.