[R] multiple plots

From: alex diaz <celebridades_at_megamail.pt>
Date: Wed 08 Jun 2005 - 03:41:33 EST


Hi:
I am learning to use R and I am experiencing some difficulties in writing a function to produce multiple plots.
This is a single plot

Subset(myframe, color==”blue” & class==1) Plot(myframe$p1, myframe$p2)

My problem is that I have six colors (blue, red, green,....) and 10 classes, that is 60 graphs! I think I can use par(mfrow=c(8,8)), but I don’t know how to generate such number of plots in a parsimonious way. Can someone give me a hand please?

alex



Email Enviado utilizando o serviço MegaMail

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 Wed Jun 08 03:47:11 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:32:27 EST