Description Usage Arguments Value
Apply formatting to a KPI flextable, using functions from the scales package
1 2 3 |
flextable |
an object from ReporteRs::FlexTable() |
actuals_cols |
vector of indices for columns showing actual performance (not deltas) |
delta_cols |
vector of indices for columns showing pct deltas (all percents) |
comma_rows |
vector of row indices that should apply scales::comma() |
percent_rows |
vector of row indices that should apply scales::percent() |
dollar_rows |
vector of row indices that should apply scales::dollar() |
cents_rows |
vector of row indices that should apply scales::dollar() with cents |
decimal_rows |
vector of row indices that should have comma-delimited thousands and also 2 decimal places |
flextable
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.