Learn R Programming

remix (version 2.1)

tabular: Compute a contingency table

Description

Compute a contingency table

Usage

tabular(x, y, margin = 0:2, useNA = c("no", "ifany", "always"), propNA = TRUE, addmargins = FALSE, test = FALSE, test.tabular = test.tabular.auto, show.test = display.test, plim = 4, show.method = TRUE)

Arguments

x
factor
y
factor
margin
margin
useNA
useNA
propNA
propNA
addmargins
addmargins