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_rows(jams)
#> Type Price
#> Strawberry 1.90
#> Raspberry 2.10
#> Plum 1.80
#>
#> Column names: Type, Price
stripe_columns(jams)
#> Type Price
#> Strawberry 1.90
#> Raspberry 2.10
#> Plum 1.80
#>
#> Column names: Type, Price
stripe_rows(jams, "red", "blue")
#> Type Price
#> Strawberry 1.90
#> Raspberry 2.10
#> Plum 1.80
#>
#> Column names: Type, Price