powered by
These convenience functions call map_background_color with by_rows or by_cols.
stripe_rows(ht, stripe1 = "white", stripe2 = "grey90")stripe_columns(ht, stripe1 = "white", stripe2 = "grey90")
stripe_columns(ht, stripe1 = "white", stripe2 = "grey90")
A huxtable.
Color for rows/columns 1, 3, 5, ...
Color for rows/columns 2, 4, 6, ...
stripe_rows(jams) stripe_columns(jams) stripe_rows(jams, "red", "blue")
Run the code above in your browser using DataLab