textablr_column_names_for_tex: Tex Table Column Toppers

Description Usage Arguments Examples

View source: R/column_titles.R

Description

Helper function to construct tex table column names

Usage

1
textablr_column_names_for_tex(column_titles, column_widths, copy = TRUE)

Arguments

column_titles

names of the regression columns

column_widths

how many columns in each name category?

copy

copy the output to clipboard? makes it easy to paste into tex document

Examples

1
2
3
4
5
6
7
# Suppose you have 6 regressions,
# 3 on the male subsample and 3 on the female subsample

c_title <- c("Male", "Female")
c_widths <- c(3, 3)

# textablr_column_names_for_tex(column_titles = c_title, column_widths = c_widths)

jamesfeigenbaum/textablr documentation built on Oct. 2, 2020, 6:05 p.m.