dm_doc2latex: documentation as LaTeX

Description Usage Arguments

View source: R/dm.R

Description

print information from documentation in LaTeX code

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
dm_doc2latex(
  doc = NULL,
  file = "",
  where = "htb",
  rowname = NULL,
  ...,
  group = TRUE,
  grouping = NULL,
  which = c("group", "name", "var", "db", "label", "comment"),
  code.key = c(group = "\\textbf", name = "\\texttt", var = "\\texttt", db =
    "\\textbf", comment = "\\emph")
)

Arguments

doc

documentation

file

argument for Hmisc::latex, default "" (empty string)

where

argument for Hmisc::latex, default "htb"

rowname

argument for Hmisc::latex, default NULL

...

passed to Hmisc::latex

group

group on 'group' (if it exists)

grouping

specify the order to group by (character vector), else as-is

which

columns to print

code.key

formatting code key


renlund/dm documentation built on Jan. 18, 2022, 9:50 a.m.