Re: [R] show unique combination of two factor

2006-11-24 Thread Michael Dewey
At 22:02 23/11/2006, Aimin Yan wrote: >p factor have 5 levels >aa factor have 19 levels. >totally it should have 95 combinations. >but I just find there are 92 combinations. >Does anyone know how to code to find what combinations are missed? Does which(table(p,aa) == 0, arr.ind=TRUE) do what you w

Re: [R] show unique combination of two factor

2006-11-24 Thread Chuck Cleland
Aimin Yan wrote: > p factor have 5 levels > aa factor have 19 levels. > totally it should have 95 combinations. > but I just find there are 92 combinations. > Does anyone know how to code to find what combinations are missed? Here is an example with fewer factor levels of one way you might do th

[R] show unique combination of two factor

2006-11-23 Thread Aimin Yan
p factor have 5 levels aa factor have 19 levels. totally it should have 95 combinations. but I just find there are 92 combinations. Does anyone know how to code to find what combinations are missed? Thanks, Aimin __ R-help@stat.math.ethz.ch mailing lis