table_builder: A set of magrittr operators for tangram tables

col_headerR Documentation

A set of magrittr operators for tangram tables

Description

A set of magrittr operators for tangram tables

Usage

col_header(table, ..., sub = TRUE)

row_header(table, ..., sub = TRUE)

write_cell(table, x, ...)

home(table)

cursor_up(table, n = 1)

cursor_down(table, n = 1)

cursor_left(table, n = 1)

cursor_right(table, n = 1)

cursor_pos(table, nrow, ncol)

carriage_return(table)

line_feed(table, n = 1)

new_line(table)

new_row(table)

new_col(table)

table_apply(table, x, FUN, ...)

add_col(table, ...)

add_row(table, ...)

set_footnote(table, footnote)

set_id(table, id)

set_caption(table, caption)

set_style(table, style)

set_colspan(table, span)

set_rowspan(table, span)

Arguments

table

tangram; The tangram table being built

...

additional argument passed

sub

logical; Is this a subheader

x

object of focus in operation

n

numeric; number of times to perform operation

nrow

numeric; number of rows

ncol

numeric; number of columns

FUN

function; function to apply

footnote

character; footnote to add

id

character; id of table

caption

character; caption of table

style

character; styling in compiling table and in rendering

span

numeric; number of rows or columns to span


tangram documentation built on Feb. 16, 2023, 5:59 p.m.