TabX: Cross Tabulation

Description Usage Arguments Author(s) See Also Examples

View source: R/TabX.R

Description

TabX is a modified version of CrossTable (gmodels). TabX will print a summary table with cell counts and column proportions (similar to STATA's tabulate varname1 varname2, col).

Usage

1
TabX(x, y, digits = 3)

Arguments

x,y

The variables for the cross tabulation.

digits

Number of digits for rounding proportions.

Author(s)

Jonah Gabry <jsg2201@columbia.edu> See CrossTable in gmodels for the authors of the function on which TabX is based.

See Also

CrossTable, xtabs, table, prop.table

Examples

1
with(GSS_2010, TabX(sex, race))

jgabry/QMSS_package documentation built on May 19, 2019, 7:18 a.m.