cat_ptr: Create pandoc table

Description Usage Arguments

View source: R/panderFuns.R

Description

Create pandoc table

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
cat_ptr(
  df,
  Digits = 3,
  Caption = NULL,
  Justify = "left",
  Style = "simple",
  Split.table = Inf,
  Split.cells = Inf,
  Keep.line.breaks = TRUE,
  Tag = NULL,
  font.s = "\\footnotesize\n",
  first.row.names = FALSE,
  row.names.null = TRUE,
  parse.pattern = "_",
  parse.replace = " ",
  Latex = TRUE
)

Arguments

df

data frame for table

Digits

number of decimal places for rounding

Caption

table caption

Justify

text justification

Style

markdown table style

Split.table

number of rows to split table across pages

Split.cells

number of cells to splist table

Keep.line.breaks

keep line breaks in cells

Tag

tag for pandoc-crossref

font.s

latex font size

first.row.names

use first row as column headers

row.names.null

use row names

parse.pattern

pattern to replace

parse.replace

string to replace parse.pattern

Latex

is document latex


duanxd1/gfuns documentation built on March 7, 2020, 12:46 a.m.