stripes: Set background color stripes

stripesR Documentation

Set background color stripes

Description

These convenience functions call map_background_color with by_rows or by_cols.

Usage

stripe_rows(ht, stripe1 = "white", stripe2 = "grey90")

stripe_columns(ht, stripe1 = "white", stripe2 = "grey90")

Arguments

ht

A huxtable.

stripe1

Color for rows/columns 1, 3, 5, ...

stripe2

Color for rows/columns 2, 4, 6, ...

Examples


stripe_rows(jams)
stripe_columns(jams)
stripe_rows(jams, "red", "blue")


huxtable documentation built on Oct. 2, 2024, 1:06 a.m.