booktabs: Formatting function for tables in Rnw files

Description Usage Arguments Value Examples

View source: R/WWR_Software.R

Description

Convenience function for drafting the course materia.s

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
booktabs(x, ...)

## Default S3 method:
booktabs(x, align = c("@{}l", rep("r", ncol(x) - 1), "r@{}"), ...)

## S3 method for class 'noquote'
booktabs(x, align = c("@{}l", rep("r", ncol(x) - 1), "r@{}"), ...)

## S3 method for class 'xtable'
booktabs(x, ...)

## S3 method for class 'booktabs'
print(
  x,
  floating = FALSE,
  hline.after = NULL,
  add.to.row = list(pos = list(-1, 0, nrow(x)), command = c("\\toprule ",
    "\\midrule ", "\\bottomrule ")),
  include.rownames = getOption("xtable.include.rownames", TRUE),
  ...
)

Arguments

x, align

as for xtable

...

additional arguments passed on to methods

floating, hline.after, add.to.row, include.rownames

as for print.xtable

Value

A data frame, giving a suitably formatted LaTeX table when printed

Examples

1

BillVenables/WWRCourse documentation built on Jan. 31, 2021, 4:22 p.m.