Learn R Programming

lareshiny (version 0.0.3)

js_op: Totals Row for datatables

Description

Totals Row for datatables

Usage

js_op(column, operation, txt = "", signif = 3)

Value

Text that can be parsed as javascript.

Arguments

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