Learn R Programming

docorator (version 0.5.2)

prep_obj_rtf: Prepare table, listing, figure object for output to rtf

Description

Prepare table, listing, figure object for output to rtf

Usage

prep_obj_rtf(x, ...)

# S3 method for default prep_obj_rtf(x, ...)

# S3 method for character prep_obj_rtf(x, ...)

# S3 method for PNG prep_obj_rtf(x, ...)

# S3 method for ggplot prep_obj_rtf(x, ...)

# S3 method for gt_tbl prep_obj_rtf(x, ...)

# S3 method for gt_group prep_obj_rtf(x, ...)

# S3 method for list prep_obj_rtf(x, ...)

Value

gt object to be included as-is to render engine

Arguments

x

docorator object containing display information

...

additional args

Examples

Run this code
docorator <- gt::exibble |>
gt::gt() |>
as_docorator(
display_name = "my_tbl",
footer=NULL,
save_object = FALSE)

prepared_obj <- prep_obj_rtf(docorator)

Run the code above in your browser using DataLab