Skip to contents

The eponymous wrapper for generating a topic long table.

Usage

topic_long_table(
  x,
  topic_cols,
  settings = c(),
  settings_after = c(),
  align_args = list(),
  caption_args = list(),
  header_args = list(),
  footer_args = list(),
  body_args = list()
)

Arguments

x

The object to make into a topiclongtable (typically a data.frame or matrix)

topic_cols

Number of columns which are topics (where rowspans may be used).

settings, settings_after

Text to add before/after the table, typically the output of topic_long_table_set and topic_long_table_set(reset=TRUE)

align_args, caption_args, header_args, footer_args, body_args

A list of arguments to pass to topic_long_table_alignment, topic_long_table_caption, topic_long_table_header, topic_long_table_footer, topic_long_table_body

Value

A character scalar with class "topic_long_table" defining the LaTeX table (to be put into a LaTeX document)