Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

to_latex

From Table 1 to Latex 2


Description

Internal table1() and tableC() function for providing output = "latex2"

Usage

to_latex(
  tab,
  caption,
  align,
  len,
  splitby,
  float,
  booktabs,
  label,
  total = FALSE,
  cor_type = NULL
)

Arguments

tab

the table1 object

caption

caption character vector

align

align character vector

len

the number of levels of the grouping factor

splitby

the name of the grouping factor

float

argument for latex formatting

booktabs

add booktabs to latex table

label

latex label option

total

is there a total column (from Table 1) to be printed?

cor_type

optional argument regarding the correlation type (for tableC)


furniture

Furniture for Quantitative Scientists

v1.9.10
GPL-3
Authors
Tyson S. Barrett [aut, cre] (<https://orcid.org/0000-0002-2137-1391>), Emily Brignone [aut], Daniel J. Laxman [aut]
Initial release
2021-02-20

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.