Generate an APA-style Table
gt_apa_table.RdConverts a tibble or data frame into an APA-formatted table using the
gt package. The resulting object inherits all the features and
customizations provided by gt.
Arguments
- x
A tibble or data frame to be formatted as an APA-style table.
- grp
An optional column name (as a string or symbol) to use for grouping rows via
gt::gt()'sgroupname_colparameter. Defaults toNULL.- nms
An optional column name (as a string or symbol) to use for row names via
gt::gt()'srowname_colparameter. Defaults toNULL.- tit
A character string specifying the table title. Will be converted to HTML format. Defaults to
"".