Skip to contents

All functions

autoslider.core autoslider.core-package
autoslider.core Package
autoslider_error()
autoslider_error class
autoslider_format() blue_format() orange_format() red_format() purple_format() autoslider_dose_format()
Table color and font
build_table_header()
Build table header, a utility function to help with construct structured header for table layout
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
dec_paste()
Concatenate arguments into a string
decorate(<VTableTree>)
Decorate TableTree
decorate(<listing_df>)
decorate listing
decorate()
generic function decorate
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.list()
decorate list of grobs
decorate_outputs()
Decorate outputs
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
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_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
gen_notes()
General notes
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
get_proper_title()
Adjust title line break and font size
l_ae_slide()
Adverse Events listing adapted from https://insightsengineering.github.io/tlg-catalog/stable/listings/adverse-events/ael02.html
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
mutate_actarm()
Refactor active arm
na_replace()
Replace NAs to NA
new_round()
Founding method
null_report()
Null report
perc_perc()
Format of (xx%, xx%)
ph_with_img()
Placeholder for ph_with_img
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
read_spec()
Read yaml spec file
s_proportion_1()
survival proportion afun
s_surv_time_1()
survival time afun
save_output() save_output.autoslider_error() save_output.decoratedGrob() save_output.decoratedGrobSet() save_output.dlisting()
Save an Output
save_outputs()
Save a list of outputs
slides_preview()
Generate flextable for preview first page
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_aesi_slide()
Table of AEs of Special Interest adapted from https://insightsengineering.github.io/tlg-catalog/stable/tables/adverse-events/aet01_aesi.html
t_dd_slide()
Death table
t_dm_slide()
Demographic table
t_dor_slide()
DOR table
t_ds_slide()
Discontinue table
table_to_slide()
Add decorated flextable to slides
to_flextable(<Ddataframe>)
To flextable
to_flextable()
s3 method for to_flextable
to_flextable(<VTableTree>)
Covert rtables object to flextable
to_flextable(<dVTableTree>)
To flextable
to_flextable(<data.frame>)
convert data.frame to flextable
to_flextable(<default>)
default method to to_flextable
to_flextable(<dlisting>)
convert listing to flextable
to_vector()
Convert list of numbers to vectors
trim_perc()
Format of xx.xx (xx.x)
trim_perc1()
Format of xx.xx (xx.xx)