Functions to display (2 x 2) contingency table
Object of type
Arguments passed to
xtab functions corrects the inability to deal with missing
values in the original
xtabs that comes with R base.
cross methods returns an object of type
cross with the
original table and the marginal percentages by row and by column. A
print methods is associated with a
an object of type
table (see details). Total returns a sum with
na.rm=TRUE by default and replaces NA with 0.
1 2 3 4
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.