| apply_zebra_stripes_ft | R Documentation |
Applies alternating background colors to variable groups in flextable objects. Handles both indented tables (detects groups by leading whitespace) and non-indented tables (uses pre-identified groups).
apply_zebra_stripes_ft(ft, df, var_groups)
ft |
flextable object. |
df |
The source data.table used to create the flextable. |
var_groups |
List of row index vectors for variable groups. |
Flextable object with zebra stripe formatting applied.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.