to_latex: creates a .tex a table from a data.frame

to_latexR Documentation

creates a .tex a table from a data.frame

Description

to_latex reads a data.frme and generates a .tex table, aiming to replicate the method of tablegenerator.com

Usage

to_latex(df, file, caption = "My table", label = "tab:df")

Arguments

df

data.frame with three column.

file

Character, name of new .tex file

caption

Character caption of table

label

Character, label of table

Value

a text file with extension .tex.

See Also

vein_notes

Other helpers: colplot(), dmonth()

Examples

## Not run: 
ef <- ef_cetesb(p = "CO", veh = "PC_FG", full = T)
to_latex(ef)

## End(Not run)

vein documentation built on April 3, 2025, 9:32 p.m.