df2tex_xtable: Create latex table code.

View source: R/df2tex_xtable.R

df2tex_xtableR Documentation

Create latex table code.

Description

Create latex code for a table from a data.frame.

Usage

df2tex_xtable(
  df,
  caption = "",
  san = TRUE,
  label = NULL,
  note = NULL,
  note_width = 14
)

Arguments

df

A data.frame.

caption

A single character, containing the table caption.

san

Should all characters be sanitized.

label

A single character, containing the table label (only for referencing in the .tex document.

note

A single character, containing the table notes.

note_width

A single numeric, containing the table note width.

Details

Prints the resulting latex code to console

Value

Returns NULL.

Examples

df2tex_xtable(mtcars)


beckerbenj/eatAnalysis documentation built on July 7, 2023, 5:51 p.m.