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 wanted.



>Thanks,
>
>Aimin
>
>

Michael Dewey
http://www.aghmed.fsnet.co.uk

______________________________________________
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
and provide commented, minimal, self-contained, reproducible code.

Reply via email to