add_col_spanners: Add table headings to group columns

View source: R/apa_table.R

add_col_spannersR Documentation

Add table headings to group columns

Description

Takes a named list of containing column numbers to group with a heading This function is not exported.

Usage

add_col_spanners(table_lines, col_spanners, n_cols, add_group_midrules = TRUE)

Arguments

table_lines

Character. Vector of characters containing one line of a LaTeX table each.

col_spanners

List. A named list containing the indices of the first and last columns to group, where the names are the headings.

n_cols

Numeric. Number of columns of the table.

add_group_midrules

Logical.Determines whether group midrules are added.

See Also

apa_table()


papaja documentation built on Oct. 30, 2024, 9:09 a.m.