# Slide Automation for Tables, Listings and Figures

## Documentation for package ‘autoslider.core’ version 0.3.1

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Package NEWS.

## Help Pages

A B C D E F G I L M N O P R S T U

autoslider.core-package | autoslider.core Package

## -- A --

append_all_slides | Append All Predefined Slides to a PowerPoint Document
append_section_header_slides | Append Section Header Slides to a PowerPoint Document
append_title_slides | Append Title Slides to a PowerPoint Document
autoslider.core | autoslider.core Package
autoslider_dose_format | Table color and font
autoslider_error | autoslider_error class
autoslider_format | Table color and font

## -- B --

black_format_tb | Table color and font
blue_format | Table color and font
build_table_header | Build table header, a utility function to help with construct structured header for table layout

## -- C --

center_figure_loc | Create location container to center the figure, based on ppt size and user specified figure size
center_table_loc | create location container to center the table
check_and_set_cutoff | Assert function to check the cutoff

## -- D --

decorate | generic function decorate
decorate-method | Decorate TableTree
decorate-method | decorate listing
decorate.autoslider_error | decorate method for autoslider_error class
decorate.default | default method to decorate
decorate.ggplot | Decorate ggplot object
decorate.grob | decorate grob
decorate.gtsummary | decorate gtsummary
decorate.list | decorate list of grobs
decorate_outputs | Decorate outputs
dec_paste | Concatenate arguments into a string
dVTableTree, | Save an Output
dVTableTree-method | Save an Output

## -- E --

eg_adae | Cached ADAE
eg_adeg | Cached ADEG
eg_adex | Cached ADEX
eg_adlb | Cached ADLB
eg_adrs | Cached ADRS
eg_adsl | Cached ADSL
eg_adtr | Cached ADTR
eg_adtte | Cached ADTTE
eg_advs | Cached ADVS

## -- F --

fastDoCall | Does do.call quicker, and avoids issues with debug mode within do.call
figure_to_slide | Add figure to slides
filter_spec | Filter a spec object
format_3d | Format of xx.xx (xx.xx, xx.xx)
format_date | Convert dates from 'yyyy-mm-dd' format into 20APR2019 format 'Datetime' format removes the time and outputs date in the same way Able to handle truncated dates as well (e.g. just the year or year and month)
func_wrapper | function wrapper to pass filtered data

## -- G --

generate_output | Generate output and apply filters, titles, and footnotes
generate_outputs | Generate all outputs from a spec
generate_slides | generate slides based on output
gen_notes | General notes
get_ai_notes | Update footnote with AI response
get_ellmer_chat | Get an 'ellmer' chat API with given platform
get_prompt_list | Read prompt list from yaml file
get_proper_title | Adjust title line break and font size
gt_t_dm_slide | Demographic table with gtsummary
g_eg_slide | Plot mean values of EG
g_lb_slide | Plot mean values of LB
g_mean_general | Plot mean values general function used by wrappers 'g_vs_slide','g_lb_slide', & 'g_eg_slide'
g_vs_slide | Plot mean values of VS

## -- I --

initialize_doc_original | Initialize PowerPoint Document Object
initialize_to_page | Determine Slide Insertion Page Number

## -- L --

list_all_templates | [EXPERIMENTAL] List All Available Templates
lyt_to_side_by_side | Build side by side layout by cbind
lyt_to_side_by_side_two_data | Build side by side layout by cbind
l_ae_slide | Adverse Events listing adapted from https://insightsengineering.github.io/tlg-catalog/stable/listings/adverse-events/ael02.html

## -- M --

mutate_actarm | Refactor active arm

## -- N --

na_replace | Replace NAs to NA
new_round | Founding method
null_report | Null report

## -- O --

orange_format | Table color and font

## -- P --

perc_perc | Format of (xx%, xx%)
ph_with_img | Placeholder for ph_with_img
postprocessing_doc | Post-process PowerPoint Document
preprocess_t_dd | Preprocess t_dd function
preprocess_t_ds | Preprocess t_ds function
print.decoratedGrob | Print decorated grob
print.decoratedGrobSet | Print decorated grob set
purple_format | Table color and font

## -- R --

read_spec | Read yaml spec file
red_format | Table color and font

## -- S --

save_output | Save an Output
save_output, | Save an Output
save_output-method | Save an Output
save_output.autoslider_error | Save an Output
save_output.decoratedGrob | Save an Output
save_output.decoratedGrobSet | Save an Output
save_output.dgtsummary | Save an Output
save_output.dlisting | Save an Output
save_outputs | Save a list of outputs
slides_from_rds | Generate slides from rds files
slides_preview | Generate flextable for preview first page
s_surv_time_1 | survival time afun

## -- T --

table_to_slide | Add decorated flextable to slides
to_vector | Convert list of numbers to vectors
trial | Cached trial
trim_perc | Format of xx.xx (xx.x)
trim_perc1 | Format of xx.xx (xx.xx)
t_aesi_slide | Table of AEs of Special Interest adapted from https://insightsengineering.github.io/tlg-catalog/stable/tables/adverse-events/aet01_aesi.html
t_ae_pt_diff_slide | Adverse event table
t_ae_pt_slide | Adverse event table
t_ae_pt_soc_diff_slide | Adverse event table
t_ae_pt_soc_slide | Adverse event table
t_ae_slide | Adverse event table
t_ae_summ_slide | Adverse event summary table
t_dd_slide | Death table
t_dm_slide | Demographic table
t_dor_slide | DOR table
t_ds_slide | Discontinue table

## -- U --

use_template | [EXPERIMENTAL] Create new output function based on a template.