Re: [R] How to create separate plots for all combinations of some factors

2009-06-26 Thread David Winsemius
You did not supply any executable examples for testing, but perhaps you could benefit by looking at: ?expand.grid ?tapply Those to split or index your data "for all combinations of factors". ?mapply # to do the plotting. On Jun 26, 2009, at 9:54 AM, Lane, Jim wrote: Hi, All I have a d

[R] How to create separate plots for all combinations of some factors

2009-06-26 Thread Lane, Jim
Hi, All I have a data frame as follows: > data.class(tapes) [1] "data.frame" > names(tapes) [1] "date""loc" "class""drp" "data""scratch" "reclaim" "total" Date is a date; loc, class and drp are factors; the rest are numerics. I want to generate separate plots by date for t