as.tabular.define: Coerce to Tabular from Define

Description Usage Arguments

View source: R/methods.R

Description

Coerces to class 'tabular' from class 'define'.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
## S3 method for class 'define'
as.tabular(
  x,
  caption = "",
  grid = TRUE,
  rules = 1,
  colwidth = c("1in", "1in", "0.5in", "1.5in", "1.5in"),
  tabularEnvironment = "longtable",
  walls = 1,
  tabnum = FALSE,
  pretable = if (is.null(caption)) "" else paste(if (tabnum) "\\caption{" else
    "\\caption*{", caption, "}\\\\"),
  prepos = 1,
  headerBold = TRUE,
  reserve = FALSE,
  ...
)

Arguments

x

define object

caption

caption for definitions table

grid

passed to latexpdf::as.tabular.data.frame

rules

passed to latexpdf::as.tabular.data.frame

colwidth

passed to latexpdf::as.tabular.data.frame

tabularEnvironment

passed to latexpdf::as.tabular.data.frame

walls

passed to latexpdf::as.tabular.data.frame

tabnum

whether to number the table

pretable

material to include before table, typically a caption

prepos

after which line number should pretable be inserted?

headerBold

whether to use a bold header

reserve

passed to as.tabular

...

passed to as.tabular


bergsmat/define documentation built on June 24, 2020, 11 p.m.