[R] Overlay Boxplot with scatter plot

From: Lanre Okusanya <lanre.okusanya_at_gmail.com>
Date: Tue 01 Aug 2006 - 22:09:38 EST

I am trying to make a box plot and overlay it with a scatter plot from another data.frame. I was able to successfully create the boxplot, but when i tried using points(x~y...) the dots did not show up.

example code


boxplot(bb~aa, data=nn)
lines(cc~aa, data=cc)

Any help with example code is appreciated.

Thank you.


R-help@stat.math.ethz.ch 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. Received on Tue Aug 01 22:19:33 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 03 Aug 2006 - 02:17:21 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.