[R] multiple plots

alex diaz celebridades at megamail.pt
Tue Jun 7 19:41:33 CEST 2005


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




More information about the R-help mailing list