[R] Overlaying 2D kernel density plots on scatterplot matrix

From: Michael Hopkins <michael.hopkins_at_hopkins-research.com>
Date: Sat 24 Jun 2006 - 19:47:09 EST

Hi all

We are pretty new to R here and trying to achieve something that we believe is possible but itıs not easy to work out how to do it.

We are producing scatterplot matrices for e.g. 10 variables. What we would like to do is superimpose 2D kernel density estimators on top of each plot so that we end up with a scatterplot matrix of 2D kernel density (contour) plots.

The kernel density plots donıt have to be very sophisticated i.e. default settings and greyscale are fine ­ we can work on details later. What has stumped us so far is how you Œattachı the kernel density results to the scatterplot results and then overlay them.

Any ideas, links or code gratefully received.

TIA and please CC answers here if possible

Michael



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 Received on Sat Jun 24 19:54:56 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 Sat 24 Jun 2006 - 22:12:07 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.