render_html: Render a table_data object as an HTML string

View source: R/render_html.R

render_htmlR Documentation

Render a table_data object as an HTML string

Description

Internal; called by stargazer.

Usage

render_html(
  table_data,
  title = "",
  dep.var.caption = "Dependent variable:",
  column.labels = NULL,
  notes = NULL,
  notes.append = TRUE,
  notes.label = "Note:"
)

Arguments

table_data

List returned by format_table.

title

Table caption string.

dep.var.caption

Caption above the dependent-variable line.

column.labels

Optional character vector of column labels (overrides model_labels in the header).

notes

Additional note strings appended after the SE note.

notes.append

Logical; if FALSE, replace the default note.

notes.label

Label preceding the note text.


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