t_dd_slide {autoslider.core} | R Documentation |
Death table
Description
Death table
Usage
t_dd_slide(adsl, arm = "TRT01A", split_by_study = FALSE, side_by_side = NULL)
Arguments
adsl |
ADSL data set, dataframe |
arm |
Arm variable, character, "'TRT01A" by default. |
split_by_study |
Split by study, building structured header for tables |
side_by_side |
used for studies in China. "GlobalAsia" or "GlobalAsiaChina" to define the side by side requirement. |
Value
rtables object
Note
* Default arm variables are set to '"TRT01A"' for safety output, and '"TRT01P"' for efficacy output
Examples
library(dplyr)
adsl <- eg_adsl %>% preprocess_t_dd()
out1 <- t_dd_slide(adsl, "TRT01A")
print(out1)
generate_slides(out1, paste0(tempdir(), "/dd.pptx"))
out2 <- t_dd_slide(adsl, "TRT01A", split_by_study = TRUE)
print(out2)
[Package autoslider.core version 0.2.1 Index]