Package 'tabtibble'

Title: Simplify Reporting Many Tables
Description: Simplify reporting many tables by creating tibbles of tables. With 'tabtibble', a tibble of tables is created with captions and automatic printing using 'knit_print()'.
Authors: Bill Denney [aut, cre]
Maintainer: Bill Denney <[email protected]>
License: GPL (>= 3)
Version: 0.0.1
Built: 2025-03-10 18:25:21 UTC
Source: CRAN

Help Index


Print a tab_list

Description

Print a tab_list

Usage

## S3 method for class 'tab_list'
knit_print(
  x,
  ...,
  caption,
  print_fun = NULL,
  tab_prefix = NULL,
  tab_suffix = "\n\n"
)

Arguments

x

The tab_list object to print

...

passed to print_fun

caption

The caption for each table as a character vector

print_fun

Override the default printing using print_tabtibble. If provided it is a function taking arguments of x (one data.frame to print), caption (the caption for that data.frame), and ....

tab_prefix, tab_suffix

Any text to add before/after each figure (NULL to omit)

Details

Individual tables are printed with the print_tabtibble() S3 generic function.

Value

x invisibly

See Also

Other knitters: knit_print.tab_tibble()


Print a tab_tibble

Description

Print a tab_tibble

Usage

## S3 method for class 'tab_tibble'
knit_print(x, ...)

Arguments

x

The tab_tibble object to print

...

Passed to subsequent methods

Value

x invisibly

See Also

Other knitters: knit_print.tab_list()


Create a new tab_tibble object

Description

Create a new tab_tibble object

Usage

new_tab_tibble(x)

new_tab_list(x)

Arguments

x

The object to convert

Value

An object with the desired class

Functions

  • new_tab_list(): Create a new tab_list object