mulbar(width, height, rowlab = NULL, collab = NULL,
gap = .2, density = 0, barcol = <<see below>>,
angle = 0, ...)
Graphical parameters may also be supplied as arguments to this function (see par). In addition, the high-level graphics arguments described under par and the arguments to title may be supplied to this function.
counts <- telsam.response[1:5,]
fit <- loglin(counts, list(1, 2), fit = T)$fit # fit independence model
resid <- counts - fit
par(mar = c(7, 4.1, 4.1, 2))
mulbar(
sqrt(fit),
resid/sqrt(fit),
collab = dimnames(telsam.response)[[2]],
rowlab = dimnames(telsam.response)[[1]][1:5],
ylab = "Interviewer",
main = "Chi-Plot for Fit to Interviewer Data"
)
mtext(side = 1, line = 3,
"Height prop. to Signed Contribution to Chi Statistic")
mtext(side = 1, line = 4,
"Width proportional to Root-Fitted Value")
mtext(side = 1, line = 5, "Area Proportional to Fitted Value")