make.and.save.xtable: Make xtable function

Description Usage Arguments

View source: R/MakeAndSaveXtable.R

Description

This function inputs table data and saves to .tex file as xtable.

Usage

1
2
3
make.and.save.xtable(table_data, file_name,
  caption = "Table of Estimates.", label = "analysis_table",
  star_substring = NULL, table_notes = NULL, ...)

Arguments

file_name

String. File name. No default.

caption

String. Caption for table. Defaults to "Table of estimates".

label

String. Latex label. Defaults to "analysis_table".

star_substring

Character vector. The substrings of xtable to be commented under the table. Defaults to NULL.

table_notes

String. Note to be put under table. Not dynamic, only one note allowed. If star_substring is NULL, a caption is placed under the table. Otherwise, the comment is placed as a footnote. Passed to formatting.xtable. Defaults to NULL.

table_data.

Data frame. No default.


citronmeliss/predictionpackr documentation built on Feb. 10, 2020, 12:19 a.m.