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

Reply via email to