Description Usage Arguments Value
Add totals (sums or means) to a dataset.
1 2  | stat_totals(x, rows = TRUE, columns = TRUE, omit_col = NA,
  summary = "sum")
 | 
x | 
 Data.frame. Data to which you wish to add the totals  | 
rows | 
 Logical. Whether totals should be added at the bottom of the table.  | 
columns | 
 Logical. Whether totals should be added at the right-side of the table.  | 
omit_col | 
 Character vector. Names of the variables not to be included in the total.  | 
summary | 
 Character. Whether the total is a "sum" or a "mean".  | 
Character vector with coefficients formatted for publication.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.