Description Usage Arguments Value
A crosstable in LaTeX
1 | ss_xtabs(formula, data, caption = "", addmargins = NULL, digits = 0)
|
formula |
a formula involving columns names of data. This formula will produce the crosstable and will be passed to xtabs function from stats package. |
data |
a dataframe |
caption |
caption for the table produced by the function. |
addmargins |
parameter for addmargins from stats package. |
digits |
number of digits in the output. The following parameters will be passed to xtabs and addmargins from stats package. |
a latex crosstable with caption and margins
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.