make_latex_table: Default latex table options

Description Usage Arguments Value

View source: R/make_table.R

Description

Set nicer kable defaults, number of digits, customise table environment, e.g. use *figure to make table go across two columns. Add custom styling for bold headings.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
make_latex_table(
  df,
  caption = "",
  dig = 2,
  col_names = NA,
  row_names = NA,
  align = c("l", rep("c", ncol(df) - 1)),
  table_env = "table",
  ...
)

Arguments

data.frame

and various kable options

Value

kable table


cjber/cjrmd documentation built on Nov. 19, 2021, 12:30 a.m.