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

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)