Learn R Programming

mcStats (version 0.1.0)

showMosaicPlot: Mosaic Plot

Description

Mosaic Plot

Usage

showMosaicPlot(x)

Arguments

x

must be a matrix with each row and column labelled

Value

mosaic plot showing observed proportions, colored by residuals from chi-sq. test

Examples

Run this code
# 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