t_dor_slide | R Documentation |
DOR table
t_dor_slide(adsl, adtte, arm = "TRT01P", refgroup = NULL)
adsl |
ADSL dataset |
adtte |
ADTTE dataset |
arm |
Arm variable, character, "'TRT01P" by default. |
refgroup |
Reference group |
An 'rtables' object
* Default arm variables are set to '"TRT01A"' for safety output, and '"TRT01P"' for efficacy output
library(dplyr)
adsl <- eg_adsl %>%
dplyr::mutate(TRT01P = factor(TRT01P, levels = c("A: Drug X", "B: Placebo", "C: Combination")))
adtte <- eg_adtte %>%
dplyr::filter(PARAMCD == "OS") %>%
dplyr::mutate(TRT01P = factor(TRT01P, levels = c("A: Drug X", "B: Placebo", "C: Combination")))
out <- t_dor_slide(adsl, adtte)
print(out)
generate_slides(out, paste0(tempdir(), "/dor.pptx"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.