Form table notes
Usage
tab_notes(
notes = character(0),
escape_fun = tab_escape,
mask_bracket = c("both", "left", "right", "none"),
note_config = noteconf(type = "tpt"),
r_file = getOption("mrg.script", NULL),
r_file_label = "Source code: ",
output_file = NULL,
output_file_label = "Source file: ",
output_dir = getOption("pmtables.dir"),
path.type = getOption("pmtables.path.type", "none"),
...
)Arguments
- notes
a character vector of notes to include at the foot of the table; use
r_fileandoutput_filefor source code and output file annotations; seetab_notes()for arguments to pass in order to configure the way notes appear in the output; see alsost_notes()- escape_fun
a function passed to
prime_funthat will sanitize column data- mask_bracket
mask (or substitute) left and/or right brackets with
\lbrackand/or\rbrack, respectively.- note_config
a
noteconf()object used to configure how table notes are displayed; see alsost_noteconf().- r_file
the name of the R file containing code to generate the table; the file name will be included in the notes in the table footer; see also
st_files().- r_file_label
a prefix for
r_file.- output_file
the name of the output file where the table text will be saved; the file name will be included in the notes in the table footer; see also
st_files().- output_file_label
a prefix for
output_file.- output_dir
directory location where output
.texfile is saved; defaults to working directory.- path.type
whether to include the path to the output file in the table notes and how to format it; options include "none", "proj", and "raw"; see
format_table_path().- ...
not used.
