Description Usage Arguments See Also
View source: R/summarywidget.R
A summarywidget
displays a single statistic derived from a linked table.
Its primary use is with the crosstalk
package. Used with crosstalk
,
a summarywidget
displays a value which updates as the data selection
changes.
1 2 3 |
data |
Data to summarize, normally an instance of crosstalk::SharedData. |
statistic |
The statistic to compute. |
column |
For |
selection |
Expression to select a fixed subset of |
digits |
Number of decimal places to display, or NULL to display full precision. |
https://kent37.github.io/summarywidget
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.