powered by
Mosaic Plot
showMosaicPlot(x)
must be a matrix with each row and column labelled
mosaic plot showing observed proportions, colored by residuals from chi-sq. test
# NOT RUN { x <- matrix(runif(9,5,100), ncol = 3, dimnames = list(c("Yes1", "No1", "Maybe1"), c("Yes2", "No2", "Maybe2"))) showMosaicPlot(x) # }
Run the code above in your browser using DataLab