Marion Dumas
2009-Apr-30 11:21 UTC
[R] overlaying several subsets of data frame in pairs plot
Hello I have a multivariate data frame giving various responses for several treatments. I would like to plot the relationship in the responses in a pairs plot with different symbols for the different treatments. In a regular plot I would have used 'matplot' or just added the new treatments with the 'points' function. But how to do it in a pairs plot? Thank you for your help Best Marion Dumas
Jorge Ivan Velez
2009-Apr-30 18:09 UTC
[R] overlaying several subsets of data frame in pairs plot
Dear Marion, Take a look at the first example in ?pairs. HTH, Jorge On Thu, Apr 30, 2009 at 7:21 AM, Marion Dumas <mariouka@gmail.com> wrote:> Hello > I have a multivariate data frame giving various responses for several > treatments. I would like to plot the relationship in the responses in a > pairs plot with different symbols for the different treatments. In a regular > plot I would have used 'matplot' or just added the new treatments with the > 'points' function. But how to do it in a pairs plot? > Thank you for your help > Best > Marion Dumas > > ______________________________________________ > 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. >[[alternative HTML version deleted]]
Apparently Analagous Threads
- problems with re-loading exported data
- question about adding plots in a grid (lattice package)
- simulations with very large number of iterations (1 billion)
- fixed color scale for a series of contour plots
- writing data from several matrices in R into one excel-file with several sheets