js_op | R Documentation |
Totals Row for datatables
js_op(column, operation, txt = "", signif = 3)
column |
Integer. Starting from 0, which column to operate |
operation |
Character. Select from sum, mean, count, custom |
txt |
Character. Insert text before (or instead) operation |
signif |
Integer. How many decimals to consider when operating |
Text that can be parsed as javascript.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.