render_latex: Render a table_data object as a LaTeX string

View source: R/render_latex.R

render_latexR Documentation

Render a table_data object as a LaTeX string

Description

Internal; called by stargazer.

Usage

render_latex(
  table_data,
  title = "",
  label = "",
  dep.var.caption = "\\textit{Dependent variable:}",
  column.labels = NULL,
  font.size = NULL,
  notes = NULL,
  notes.append = TRUE,
  notes.align = "l",
  notes.label = "\\textit{Note:} ",
  style = "stargazer2"
)

Arguments

table_data

List returned by format_table.

title

Table caption string.

label

LaTeX label string (\label{...}).

dep.var.caption

Caption above the dependent-variable line (empty string suppresses the row entirely).

column.labels

Optional character vector of column labels.

font.size

LaTeX font-size command (e.g. "small").

notes

Additional note strings appended after the SE note.

notes.append

Logical; if FALSE, replace the default note.

notes.align

Alignment of the notes cell.

notes.label

Label preceding the note text.

style

One of "stargazer2", "stargazer", "aer", "qje".


stargazer2 documentation built on July 17, 2026, 5:08 p.m.