Hello,
How can I create a symmetric contingency table from two categorical vectors
having different length of levels?
For example one vector has 98 levels
TotalData1$Taxa.1
 [1] "Aconoidasida"                     "Actinobacteria (class)"
"Actinopterygii"                   "Alphaproteobacteria"
 [5] "Amoebozoa"                        "Amphibia"
"Anthozoa"                         "Aquificae (class)"
and so on .........
98 Levels: Aconoidasida Actinobacteria (class) ....

  and the other vector has 105 levels
TotalData1$Taxa.2
    [1] Flavobacteria                    Proteobacteria
Bacteroidetes/Chlorobi group     Bacteria
    [5] Epsilonproteobacteria            Epsilonproteobacteria
 Epsilonproteobacteria
and so on  ..........
105 Levels: Acidobacteria Aconoidasida Actinobacteria (class) ....

Now I want to create a symmetric contingency table.
Any quick idea will be really helpful.
Best regards,
Mitra

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org 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