plotStdRes: Plot Standardized Residuals from a Cross-tabulation

Description Usage Arguments Value Examples

View source: R/4419_functions.r

Description

Uses ggplot2 to visualize the standardized residuals from a cross-tabulation

Usage

1

Arguments

x

A cross-tabulation of two variables

Value

A ggplot

Examples

1
2
3
4
alberta$k6group <- rio::factorize(alberta$k6group)
alberta$d2 <- rio::factorize(alberta$d2)
tab <- with(alberta, table(k6group, d2))
plotStdRes(tab)

uwo4419 documentation built on Oct. 23, 2020, 8:08 p.m.