Description Usage Arguments Value
View source: R/create_tables.R
Create tables of row/column sums, with percentages suitable for output addresses rounding and formatting, prepares tables for output to MS Word file options to include total values as well
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
freq.table |
pass the frequency table to the function. Must be a matrix or a dataframe. |
percent.table |
pass the table of percentages; default is to compute this in the function |
decimal1 |
number of decimals in sum |
decimal2 |
number of decimals in percentage |
row.names.provided |
pass a character vector of the row names for the output table |
col.names.provided |
pass a character vecotr of the column nanmes for the output table |
Returns a dataframe of character values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.