Skip to contents

Gives a gt table the look of the tables in lactater's reports and articles, so your own tables can match them: IBM Plex Sans, the full width of the page, bold column labels over one dark rule, light rules between rows, bold row groups, and no fills or colors. Needs the gt package. options(lactater.web_font = FALSE) leaves out the link to the web font (IBM Plex Sans is then used when installed), which keeps a self-contained page small.

Usage

gt_lactater(table, size = 14)

Arguments

table

A gt table.

size

The font size, in pixels.

Value

the gt table.

Examples

gt::gt(head(demo_data)) |>
  gt_lactater()
step length intensity lactate heart_rate rpe
0 0 0 0.93 96 6
1 3 50 0.98 114 7
2 3 75 1.23 134 8
3 3 100 1.88 154 11
4 3 125 2.80 170 12
5 3 150 4.21 182 14