data(Gilby)
# CMH tests treating row/column variables as ordinal
CMHtest(Gilby)
mosaic(Gilby, shade=TRUE)
# correspondence analysis to see relations among categories
if(require(ca)){
ca(Gilby)
plot(ca(Gilby), lines=TRUE)
}
Run the code above in your browser using DataLab