Java Mailing List Archive

http://www.r-help.com/

Home » R Help for Statistical Computing »

[R] superimpose multiple scatterplot matrices

Ping-Hsun Hsieh

2009-07-02

Replies: Find Java Web Hosting

Author LoginPost Reply
Dear R- experts,



I am trying to superimpose two or more scatterplot matrices generated by pairs() to visualize the differences over each datasets, but have not been very successful. Two data frames, df1 and df2 for example, each has the same five variables in columns.

My goal is to paint each dataset with a color on the same plot panel for each pair of the five variables.

That is, in this example a 5x5 matrix consists 25 panels, and each panel would have two datasets with two different colors.



Any comments and suggestions are welcome.



Best,

PingHsun


 [[alternative HTML version deleted]]

______________________________________________
R-help@(protected)
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.
©2008 r-help.com - Jax Systems, LLC, U.S.A.