Description Usage Arguments Value
tab.cross
performs a simple two-way cross tabulation of two factor vectors.
Easy printing and plotting is helped by simple formatting.
1 2 |
x |
a factor |
y |
a factor |
prop.margin |
index, or vector of indices to generate margin for, prop.table |
digits |
the maximum number of digits, round |
sum.margin |
vector of dimensions over which to form margins. Margins are formed in the order in which dimensions are specified in margin. addmargins |
sum.label |
is the label of the margins |
freq |
if TRUE frequencies placed within () |
a table with 2 dimensions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.