gt_apa_style: Helper function to style gt-table in APA style

gt_apa_styleR Documentation

Helper function to style gt-table in APA style

Description

This function takes a gt table object and changes font-type, borders etc to align with APA style.

Usage

gt_apa_style(gt_table, fmt_labels_md = TRUE, row_group_background = "#E0E0E0")

Arguments

gt_table

A gt-table

fmt_labels_md

Should row and column labels be formatted with markdown/HTML (Defaults to TRUE)

row_group_background

Background color for row groups. Set to NULL to remove this highlight.

Source

Created by Philip Parker, https://gist.github.com/pdparker/1b61b6d36d09cb295bf286a931990159. Slightly expanded here.


LukasWallrich/timesaveR documentation built on Nov. 29, 2024, 4:47 a.m.