Rdocumentation
powered by
Learn R Programming
SciencesPo (version 1.4.1)
TwoWay: Cross Tabulation
Description
TwoWay
is a modified version of
CrossTable
(
gmodels
).
TwoWay
will print a summary table with cell counts and column proportions (similar to STATA's
tabulate
.
Usage
TwoWay(x, y, digits = 3)
Arguments
x, y
the variables for the cross tabulation.
digits
number of digits for rounding proportions.