Description Usage Arguments Value
Conditional formatting for a time-comparison FlexTable
1 2 | format_deltas(flextable, data_df, delta_col_nums, cost_ratio_row_nums,
small_delta = 0.1, big_delta = 0.3)
|
flextable |
An object from ReporteRs::FlexTable() |
data_df |
Data source for the flextable object |
delta_col_nums |
vector giving indices of columns that show percentage comparison |
cost_ratio_row_nums |
vector giving indices of rows that show cost_per_* metrics |
small_delta |
criterion for highlighting minor relative increases or decreases in decimal form. Default is 0.1 |
big_delta |
criterion for highlighting major relative increases or decreases in decimal form. Default is 0.3 |
flextable object with formatting applied
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.