print_latex_table: print_latex_table

View source: R/latex.R

print_latex_tableR Documentation

Description

print_latex_table

Usage

print_latex_table(
  DATA,
  repeat_VARS = NULL,
  my_align = NULL,
  add_table = FALSE,
  fontsize = NULL,
  caption = NULL,
  label = NULL,
  midrule1 = NULL,
  latex_comment = NULL,
  ...
)

Arguments

DATA

A matrix or data.frame to present as a latex table

repeat_VARS

A string vector of colnames to avoid repeating values within a column

my_align

A string containing letters "l", "r", or "c" for left, right, and center alignment

add_table

Boolean set to TRUE to enclose tabular environment with table environment

fontsize

Defaults to NULL to not specify a fontsize. Otherwise, possible values are "tiny", "footnotesize", "small", "normalsize", "large", "Large", "LARGE", "huge","Huge"

caption

A string to include a table caption

label

A string to represent a latex table label

midrule1

Default is set to NULL

latex_comment

Add a latex comment above the table for notes

...

arguments passed to cat

Value

No return value


pllittle/smarter documentation built on Feb. 27, 2025, 1:06 a.m.