renderDataTableSparklines {psichomics}R Documentation

Render a data table with sparkline HTML elements

Description

Render a data table with sparkline HTML elements

Usage

renderDataTableSparklines(..., options = NULL)

Arguments

...

Arguments passed on to shiny::renderDataTable

expr

An expression that returns a data frame or a matrix.

searchDelay

The delay for searching, in milliseconds (to avoid too frequent search requests).

callback

A JavaScript function to be applied to the DataTable object. This is useful for DataTables plug-ins, which often require the DataTable instance to be available (http://datatables.net/extensions/).

quoted

Is expr a quoted expression (with quote())? This is useful if you want to save an expression in a variable.

outputArgs

A list of arguments to be passed through to the implicit call to dataTableOutput when renderDataTable is used in an interactive R Markdown document.

options

List of options to pass to renderDataTable

Details

This slightly modified version of renderDataTable calls a JavaScript function to convert the sparkline HTML elements to interactive Highcharts

Value

NULL (this function is used to modify the Shiny session's state)


[Package psichomics version 1.9.1 Index]